text
stringlengths
10
2.72M
package com.example.smartparkingsystem; import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.view.View; public class CustomerSupport extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceS...
package com.pybeta.daymatter.ui; import java.util.ArrayList; import android.app.Activity; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.view.View; import android.view.View.OnClickListener; import android.widget.LinearLayout; import com.pybeta.daymatter.R;...
package in28minutes.testing.spike; import org.json.JSONException; import org.junit.Test; import org.junit.runner.RunWith; import org.skyscreamer.jsonassert.JSONAssert; import org.springframework.boot.test.autoconfigure.web.servlet.WebMvcTest; import org.springframework.test.context.junit4.SpringRunner; @WebMvcTest @R...
package com.xunfang.service; import com.xunfang.pojo.Pager; import com.xunfang.pojo.ProductInfo; import java.util.List; import java.util.Map; public interface ProductInfoService { // 分页 public List<ProductInfo> selectByPage(Pager pager, ProductInfo productInfo); // 总数 public Integer count(Map<...
package com.xwq520.excel.PoiDemo; import java.io.FileInputStream; import java.io.InputStream; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import org.apache.poi.hssf.usermodel.HSSFCell; import org.apache.poi.hssf.usermodel.HSSFRow; import org.apache.poi.hssf.userm...
package de.jmda.cbo.user; import org.jasypt.util.password.StrongPasswordEncryptor; public abstract class Encryptor { public static String encryptPassword(String unencryptedPassword) { return (new StrongPasswordEncryptor()).encryptPassword(unencryptedPassword); } }
package com.algorithms4.sort.test2; import com.algorithms4.utils.Utils; import java.util.Random; /** * Created by saml on 3/15/2018. */ public class QuickSort { public static void sort(int[] arr) { qSort(arr, 0, arr.length - 1); } public static void qSort(int[] arr, int head, int tail) { ...
public class Job { int arrival; int deadline; int absoluteDeadline; int executionTime; boolean finished; int remainingTime; int jClass; int pid; int jClassID; public Job(int arrival , int absoluteDeadline,int executionTime) { this.arrival = arrival; this.absoluteDeadline = absoluteDeadline; this.fini...
package com.hobson.assesment.pages; import org.openqa.selenium.By; import org.openqa.selenium.JavascriptExecutor; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.support.FindBy; import org.openqa.selenium.support.How; import org.openqa.selenium.support.ui.Expecte...
package io.pachon.jorge.guerramundial; public class Motocicleta extends Vehiculo implements WeaponableMode { public Motocicleta(int capacidadPersonas, int capacidadToneladas, int capacidadMunicion) throws Exception{ super(capacidadPersonas, capacidadToneladas, capacidadMunicion); } public void doW...
package cn.edu.zucc.music.service; import cn.edu.zucc.music.model.SheetSong; import cn.edu.zucc.music.model.Song; import java.util.List; public interface SheetSongService { int addSheet(SheetSong sheet); int deleteSheet(SheetSong sheet); int updateSheet(SheetSong sheet); SheetSong findById(int id); ...
package edu.classm8web.dto; import java.io.Serializable; public class School implements Serializable { /** * */ private static final long serialVersionUID = -3873474973141839097L; private long id; private String identifier; public School() { super(); } public School(long id, String identifier) ...
package br.com.helpdev.quaklog.configuration.converter; import org.springframework.core.convert.converter.Converter; import org.springframework.lang.Nullable; import java.time.LocalDate; import static java.util.Objects.isNull; public class LocalDateToStringConverter implements Converter<LocalDate, String> { @Ov...
package com.cg.stock.controller; import java.util.List; import java.util.Map; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.ModelAttribute; import org.springf...
package com.hs.doubaobao.utils; import android.app.Dialog; import android.content.Context; import android.graphics.drawable.AnimationDrawable; import android.view.Gravity; import android.view.View; import android.widget.ImageView; import android.widget.TextView; import com.hs.doubaobao.R; /** * Author: zhanghaitao...
package com.hallowizer.displaySlot.apiLoader; import java.util.UUID; public interface PluginContext { public void sendPluginMessage(UUID uuid, String channel, byte[] data); public int getScreenWidth(UUID uuid); public int getScreenHeight(UUID uuid); }
package me.tokyojack.spigot.coincake.listeners; import java.util.Random; import org.bukkit.ChatColor; import org.bukkit.Material; import org.bukkit.Sound; import org.bukkit.event.EventHandler; import org.bukkit.event.Listener; import org.bukkit.event.block.Action; import org.bukkit.event.player.PlayerInteractEvent; i...
package com.lus.seansprototype.notifications; public enum NotificationType { TEST, APPLICATION_SUBMITTED, APPLICATION_DENIED, APPROVAL_LETTER_RECEIVED, UNDERTAKING_REQUIRED, SIGN_LOAN_OFFER, SIGN_MORTGAGE_PROTECTION, PROCESS_COMPLETE }
//** Nov 13-P1**** package JavaSessions; import java.util.HashMap; import java.util.Map; public class HashMapConcept { public static void main(String[] args) { //HashMap is a part of Collection --dynamic //it is special collection which stores the values in form of key and value //Generics //can have only ...
package com.tuitaking.array; import com.tuitaking.common.MockUtil; import com.tuitaking.common.Utils; import org.junit.Assert; import org.junit.Test; public class TotalFruit_904Test { @Test public void test(){ TotalFruit_904 totalFruit_904=new TotalFruit_904(); for(int i =0 ; i<100 ; i++){ ...
package org.motechproject.server.model.rct; import org.motechproject.ws.Patient; import org.motechproject.ws.rct.ControlGroup; public class ConfirmationMessageContent { private Patient patient; private ControlGroup controlGroup; public ConfirmationMessageContent(Patient patient, ControlGroup controlGroup...
package esir.dom11.nsoc.datactrl.dao.factory; import esir.dom11.nsoc.datactrl.dao.connection.ConnectionDbMongoDb; import esir.dom11.nsoc.datactrl.dao.connection.ConnectionDbMySQL; import esir.dom11.nsoc.datactrl.dao.dao.*; import esir.dom11.nsoc.datactrl.dao.model.mongodb.*; import esir.dom11.nsoc.datactrl.dao.model.m...
package main.java.model.calculator; import java.util.*; // Author: Alexander Larnemo Ask, Jonatan Bunis, Vegard Landrö, Mohamad Melhem, Alexander Larsson Vahlberg // Responsibility: The calculator's face outward towards the rest of the program. // Used by: ModelAggregate. // Uses: Exposes wanted functionality from th...
package com.oop.cls; import java.util.Scanner; public class MainClass { public static void main(String[] args) { // TODO Auto-generated method stub Scanner input =new Scanner(System.in); String m= input.nextLine(); float u=input.nextFloat(); int l=input.nextInt(); Invoice obj= new Invoice (m,u,l);...
package opengl; import javax.media.opengl.GL2; import main.Constant; /** * Floor * * @author Jim Stanev * */ public class Grid extends Drawable{ private int gridSize; private int gridLineWidth; private float[] normal = {0f, 1f, 0f}; private float[] white = {1f , 1f, 1f}; private floa...
class Order { private String orderId; private float ammount; //½ð¶î private Customer customer; public String getOrderId() { return orderId; } public void setOrderId(String orderId) { this.orderId = orderId; } public float getAmmount() { return ammount; } ...
/* * Copyright (c) 2015-present, Parse, LLC. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ package com.par...
package com.corejava.exception; import java.io.*; public class TryWithResourcesTest { public static void main(String[] args) throws IOException { try(FileInputStream f=new FileInputStream("D:\\JAVA TRAINNG\\practice\\Workspace\\CoreJava\\src\\com\\corejava\\exception\\Account.java")) { byte[] bytes=...
package com.hotmail.at.jablonski.michal.shoppinglist.db.dataManagers.shoppingItems; import com.hotmail.at.jablonski.michal.shoppinglist.db.dao.ChildDao; import com.hotmail.at.jablonski.michal.shoppinglist.ui.details.listAdapter.ShoppingItem; public class ShoppingItemDeleter { public Integer delete(ShoppingItem i...
package com.havryliuk.man; import com.havryliuk.man.man.Man; import org.junit.Test; import java.time.LocalDateTime; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; public class ManTest { @Test public void manIsCreated() { Man man = new Man(); asser...
package NiuKe; public class 打劫房屋 { public static void main(String[] args) { } public static long houseRobber(int[] A) { int length = A.length; if (length<1) { return 0; } long[] tmp = new long[length]; for (int i = 0; i < tmp.length; i++) { tmp[i] = -1; ...
package com.example.healthmanage.ui.activity.temperature.ui; import androidx.lifecycle.MutableLiveData; import com.example.healthmanage.base.BaseApplication; import com.example.healthmanage.base.BaseViewModel; import com.example.healthmanage.bean.UsersInterface; import com.example.healthmanage.bean.UsersRemoteSource;...
package com.galvanize.carapp.model; import lombok.AllArgsConstructor; import lombok.Data; @Data @AllArgsConstructor public class CarAppResponse { private Object data; }
package com.shopify.admin.seller; import java.util.ArrayList; import java.util.List; import com.shopify.shop.ShopData; import lombok.Data; @Data public class SellerDiscount { private String email; private List<String> shopNameList = new ArrayList<>(); private List<String> domainList = new ArrayList<>(); pri...
package com.tt.miniapphost.language; import android.content.Context; import android.os.Build; import android.os.LocaleList; import android.text.TextUtils; import com.tt.miniapphost.AppBrandLogger; import com.tt.miniapphost.AppbrandContext; import java.lang.ref.WeakReference; import java.util.Iterator; import...
package com.warehouse.entity; import java.util.Date; public class StockProductRelateEntity { private Integer stockProductId; private Integer productId; private String productSpu; private String productSku; private String productName; private String colorName; private String sizeName;...
public interface Screen { public void display(String s); public String getScreen(); }
package sample; import javafx.scene.control.Alert; public class Controller { public void alertMessage(String a, String b) { Alert alert = new Alert(Alert.AlertType.INFORMATION); alert.setTitle(a); alert.setHeaderText(null); alert.setContentText(b); alert.showAndWait(); ...
package com.project.common_basic.hybrid; import android.app.Activity; import android.content.Context; import com.project.common_basic.manager.FileDownLoader; import com.project.common_basic.mvp.NearWebLogicView; import org.json.JSONObject; /** * Js调用处理类中需要使用类的提供者 * * @author yamlee */ public interface NativeCom...
package edit_windows.employee; import com.awrzosek.ski_station.basic.BasicUtils; import com.awrzosek.ski_station.database_management.EmployeeManager; import com.awrzosek.ski_station.tables.person.employee.Employee; import edit_windows.client.edit.ClientEditWindowController; import javafx.application.Platform; import j...
package shangguigu; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.Date; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.ScheduledExecutorService; import java.util.concurrent.TimeUnit; /** * scheduleWithFixedDelay和sched...
package models; public class Query { public static final int ENABLED_TO_VOTE = 36421026; public static final double VOTE_THRESHOLD = 0.333333334; private int votesNumber; public void recordVotesObtained(int votesObtained, String departament) { votesNumber += votesObtained; } ...
package com.vilio.nlbs.bms.service.impl; import com.vilio.nlbs.bms.service.BmsCommonService; import org.springframework.stereotype.Service; /** * Created by xiezhilei on 2017/1/12. */ @Service public class BmsCommonServiceImpl implements BmsCommonService { }
package com.mrice.txl.appthree.ui.me; import android.app.AlertDialog; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.Toolbar; import android.text.TextUtils; import android.view.View; import android.widget.Button; import android.widget.EditText; import androi...
/* 1: */ package org.linphone.core; /* 2: */ /* 3: */ public enum PublishState /* 4: */ { /* 5: 7 */ None(0), Progress(1), Ok(2), Error(3), Expiring(4), Cleared(5); /* 6: */ /* 7: */ protected final int mValue; /* 8: */ /* 9: */ private PublishState(int value) /* 10: ...
package uniquecharset; public class Solutiontest { public static void main (String [] args){ Solution s = new Solution(); System.out.println(s.allUnique("abcd")); } }
package com.sales.service; import com.github.pagehelper.PageHelper; import com.sales.entity.CustomerMasterEntity; import com.sales.mapper.CustomerMasterMapper; import com.system.util.BusinessException; import com.system.util.PagerInfo; import com.system.util.ServiceResult; import org.slf4j.LoggerFactory; import org.sp...
/* * Copyright 2009 Kjetil Valstadsve * * 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 agre...
package javax.vecmath; import java.io.Serializable; public class Matrix3f implements Serializable, Cloneable { static final long serialVersionUID = 329697160112089834L; public float m00; public float m01; public float m02; public float m10; public float m11; public float m12; publ...
package model; public class NodeObj { private String name; private String path; public NodeObj(String name, String path) { this.name = name; this.path = path; } public String getName() { return name; } public String getPath() { return path; } // 重点在toString,节点的显示文本就是toString pub...
/*************************************************************** * Copyright (c) 2012, All Rights Reserved. * * Generation Challenge Programme (GCP) * * @author Kevin L. Manansala * * This software is licensed for use under the terms of the * GNU General Public License (http://bit.ly/8Ztv8M) and the * pro...
package com.ehootu.flow.service.impl; import com.alibaba.fastjson.JSONObject; import com.ehootu.census.model.OutCensus; import com.ehootu.census.service.CensusService; import com.ehootu.core.generic.GenericDao; import com.ehootu.core.generic.GenericServiceImpl; import com.ehootu.core.util.DateUtils; import com.ehootu....
package chapter05; public class Exercise05_26 { public static void main(String[] args) { double e = 1; double factorial = 1; for (int i = 1; i <= 100_000; i++) { for (int j = 1; j <= i; j++) { factorial *= j; } e += 1. / factorial; factorial = 1; if (i % 10_000 == 0) { ...
package com.corejava.enumtest; import java.util.*; class Data { private HashMap<Integer,ArrayList<Object>> userData=new HashMap<>(); class Cache { public void insertData(int id,String name) { ArrayList<Object> list=new ArrayList<>(); list.add(name); list.add(new Date()); ...
package com.smxknife.jmx.demo01.agent; import com.smxknife.jmx.demo01.instrumentation.QueueSampler; import javax.management.MBeanServer; import javax.management.Notification; import javax.management.NotificationListener; import javax.management.ObjectName; import java.lang.management.ManagementFactory; import java.ut...
package cqu; import java.awt.BorderLayout; import java.awt.Font; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.MouseAdapter; import java.awt.event.MouseEvent; import java.io.File; import java.io.IOException; import javax.swing.JFrame; import javax.swing.JLabel; import ...
package com.dennistjahyadigotama.soaya.activities.WebsiteActivity; import android.app.DownloadManager; import android.net.Uri; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.view.KeyEvent; import android.view.MenuItem; import android.webkit.CookieManager; import android.webki...
package com.example.healthmanage.ui.activity.temperature.ui; import android.content.DialogInterface; import android.content.Intent; import android.os.Bundle; import android.text.Html; import android.text.TextUtils; import android.view.Display; import android.view.Gravity; import android.view.View; import android.view....
package com.pointburst.jsmusic.listener; /** * Created by FARHAN on 1/22/2015. */ public interface PMediaPlayerListener { public void onInitializePlayerStart(String message); public void onInitializePlayerSuccess(); public void onError(); public void onUpdateMpUi(int index); }
package sample.entities; import java.util.ArrayList; public class Builder extends Employee { private BuildingType type; public Builder(){} Builder(String name, String surname, int age, BuildingType type) { super(name, surname, age); this.type = type; } public BuildingType...
package practisepkg; public class oct11A { int rollno; int studentid; String den; int ab; oct11A(int rollno, int studentid, String den, int ab) { this.rollno=rollno; this.studentid=studentid; this.den=den; this.ab=ab; } void meth() {System.out.println(rollno+ studentid+ den+ ab);} }
package com.neji.weatherpoc.data.model; import java.util.ArrayList; import javax.annotation.Generated; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; @Generated("org.jsonschema2pojo") public class List { @SerializedName("dt") @Expose private Integer dt; ...
package com.techlab.basic; public class OverloadingFunction { public static void main(String args[]) { OverloadingFunction o1=new OverloadingFunction(); o1.printInfo(12.4); //printInfo("sonam"); //printInfo(10.5); printInfo(20); printInfo(10.5f); } static void printInfo(String s) { System.out.prin...
package ua.goit.timonov.enterprise.web; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import java.util.Date; import java.util.Map; /** * Main Spring MVC controller for mapping pages main,...
package shapiro.mco243.microprocessor; public class Memory { private String[] memory; public Memory(String mem) { memory = mem.split(""); } public String[] getMemory() { return this.memory; } public void setMemory(String[] memory) { this.memory = memory; } }
package com.demo.spring; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.SQLException; import java.util.List; import org.springframework.jdbc.core.JdbcTemplate; import org.springframework.jdbc.core.PreparedStatementCreator; import org.springframework.transaction.annotation.Transactional...
package com.lzh.net.connect; import io.netty.bootstrap.Bootstrap; import io.netty.channel.Channel; import io.netty.channel.ChannelHandler; import io.netty.channel.EventLoopGroup; import io.netty.channel.nio.NioEventLoopGroup; import io.netty.channel.socket.nio.NioDatagramChannel; public class UdpServer { ...
package com.tt.miniapp.view.webcore; import android.content.Context; import android.graphics.Rect; import android.view.MotionEvent; import android.view.View; import android.widget.ScrollView; public class NoScrollView extends ScrollView { public NoScrollView(Context paramContext) { super(paramContext)...
package com.tencent.mm.plugin.appbrand.jsapi.k; import android.view.View; import android.view.ViewGroup; import android.view.ViewGroup.LayoutParams; import android.widget.FrameLayout; import android.widget.LinearLayout; import com.tencent.mm.plugin.appbrand.jsapi.a; import com.tencent.mm.plugin.appbrand.jsapi.e; impor...
package com.infosys.bookingms.dto; public class BookingDTO { }
package com.bh.noteon.drawing; import android.content.Context; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.view.MotionEvent; import android.view.View; public class DrawingCanvas extends View { private int mColor = Color.BLACK; private Paint.Sty...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ma...
package br.org.funcate.glue.exception; import java.io.File; import java.io.IOException; import java.util.Date; import org.apache.log4j.BasicConfigurator; import org.apache.log4j.DailyRollingFileAppender; import org.apache.log4j.Logger; import org.apache.log4j.PatternLayout; /* * Esta classe utiliza recursos da bibl...
package adt.queue; import adt.queue.TDDQueue; import adt.queue.nodes.FullNode; import org.junit.Before; import org.junit.Test; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; public class TDDQueueTests { private TDDQueue<String> ...
package com.shopify.payment.popup; import java.util.ArrayList; import java.util.List; import java.util.Map; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springfra...
package com.qtrj.simpleframework.ssh.repository.jdbc; public class JdbcException extends Exception { public JdbcException(String msg) { super("fy jdbc exception : " + msg); } public JdbcException(String message, Throwable cause) { super("fy jdbc exception : " + message, cause); } }
package com.tencent.mm.ui; import android.content.DialogInterface; import android.content.DialogInterface.OnDismissListener; import com.tencent.mm.sdk.platformtools.af; class MMAppMgr$15 implements OnDismissListener { MMAppMgr$15() { } public final void onDismiss(DialogInterface dialogInterface) { ...
package codex.launcher; import codex.component.border.DashBorder; import codex.component.border.RoundedBorder; import codex.config.IConfigStoreService; import codex.log.Logger; import codex.model.Entity; import codex.presentation.CommandPanel; import codex.service.ServiceRegistry; import codex.task.AbstractTask; impor...
package univie.ac.at.meineinkaufswagerl.profile; import android.content.ActivityNotFoundException; import android.content.Intent; import android.content.res.Resources; import android.speech.RecognizerIntent; import android.speech.tts.TextToSpeech; import android.support.v7.app.AppCompatActivity; import android.os.Bund...
package util.commonUtil.model; import util.commonUtil.ComFileUtil; public class FileInfo { public String dir; public String fileName; /** * file extension including dot. e.g: .txt .java */ public String fileExt; public FileInfo(String dir, String fileName, String fileExt) { this.dir = dir; ...
package com.ims.exception; public class OperationFailedException extends Exception{ }
package com.evansitzes.vocabularyapi; import com.ulisesbocchio.jasyptspringboot.annotation.EnableEncryptableProperties; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.web.bind.annotation.RestController; @SpringBootAppl...
package com.accp.domain; public class Ownership { private Integer ownershipid; private String ownershipname; public Integer getOwnershipid() { return ownershipid; } public void setOwnershipid(Integer ownershipid) { this.ownershipid = ownershipid; } public String getOwner...
package com.timebusker.web; import com.timebusker.entity.UserInfo; import com.timebusker.service.UserInfoService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.we...
class Student2{ private String name; private int grade, ban, telephone; public Student2(String name){ this. name=name; } public Student2(String name, int grade, int bam, int telephone){ this. name=name; this. grade=grade; this. ban=ban; this. telephone=telephone; } public Student2(String name, int ban...
public class Plastic extends Material { public String toString() { return "재료는 플라스틱입니다."; } @Override public void doPrinting() { System.out.println("플라스틱으로 프린팅합니다."); } }
package edu.wpi.teamname; public class Rectangle { private final double length; private final double height; public Rectangle(double length, double height) { this.length = length; this.height = height; } public double getPerimeter() { return 2 * length + 2 * height; } public double getArea...
public class Student { String name; int age; double height; void Walk() { System.out.println("i can walk"); } void Display() { System.out.println("......................................"); System.out.println("Name is "+name); System.out.println("Age is "+age); System.out.println("Height is "+heig...
package com.jim.multipos.ui.consignment_list.view; import android.os.Bundle; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.text.Editable; import android.view.View; import android.widget.FrameLayout; import android.widget.ImageView; import android.wi...
package pizza; import org.springframework.beans.BeanUtils; import pizza.config.kafka.KafkaProcessor; import com.fasterxml.jackson.databind.DeserializationFeature; import com.fasterxml.jackson.databind.ObjectMapper; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.cloud.stream.a...
package com.sporsimdi.action.service; import java.io.Serializable; import java.util.List; import javax.ejb.EJB; import javax.faces.bean.ManagedBean; import javax.faces.bean.ViewScoped; import com.sporsimdi.action.facade.YasGrubuFacade; import com.sporsimdi.model.entity.YasGrubu; @ManagedBean(name = "yas...
package com.spring.shop.service.dto; public interface Dto { }
package com.chuxin.family.zone; import java.util.List; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; import android.provider.BaseColumns; import android.text.TextUtil...
/** * FileCreator.java * Purpose: class for creating new file when such a file with given name does not exist. * * @version 1.0 23/02/2018 * @author Jakub Mitulski */ package com.library.common; import java.io.File; import java.io.IOException; public class FileCreator { public void createFile(String fileNa...
import com.opensymphony.xwork2.ActionSupport; import com.opensymphony.xwork2.ModelDriven; public class IndexAction extends ActionSupport implements ModelDriven<Testt> { private Testt testt = new Testt(); public String test() throws Exception { System.out.println("name = " + testt.getName()); System.out.println(...
package com.yunkuent.sdk.compat.v2; import com.gokuai.base.HttpEngine; import com.gokuai.base.LogPrint; import com.gokuai.base.NetConnection; import com.gokuai.base.RequestMethod; import com.yunkuent.sdk.data.OauthData; import com.gokuai.base.ReturnResult; import com.gokuai.base.utils.Base64; import com.gokuai.base.ut...
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.components.devtools_bridge.gcd; import android.util.JsonWriter; import org.chromium.components.devtools_bridge.commands.Command; im...
package com.ydm.consumer.config; import com.netflix.loadbalancer.IRule; import com.netflix.loadbalancer.RandomRule; import com.netflix.loadbalancer.RoundRobinRule; import org.springframework.boot.autoconfigure.EnableAutoConfiguration; import org.springframework.cloud.client.loadbalancer.LoadBalanced; import org.spring...
package Arrays; public class MultipleOfThree { public static void main(String[] args) { int [] arr = {3,6,5,1,8}; int max=18; int sum=0; for(int i=0;i<arr.length;i++) { sum=sum+arr[i]; System.out.println(sum); } } }
/* * 2012-3 Red Hat Inc. and/or its affiliates and other contributors. * * 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 requi...