text
stringlengths
10
2.72M
package day15methodcreation; import java.util.Scanner; public class MethodCreation03 { public static void main(String[] args) { // bsit hesap makinasi // Kullanicidan yapacagi islemi islem ssembolu ile secmesini saglayan //Kulllancidan iki sayi girmesini isteyelim //giriken iki sayi ve secilen isleme gore...
package org.kt3k.straw.plugin; import org.kt3k.straw.StrawPlugin; public class OptionsMenuPlugin extends StrawPlugin { @Override public String getName() { return "optionsMenu"; } }
package com.diozero.internal.provider.builtin.i2c; /*- * #%L * Organisation: diozero * Project: diozero - Core * Filename: I2cRetryTest.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 ...
/* * Copyright 2012 Kulikov Dmitriy * Copyright 2017 Nikita Shakarun * * 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 re...
package com.tencent.mm.g.a; import android.content.Context; import android.os.Bundle; import com.tencent.mm.protocal.c.wl; import com.tencent.mm.protocal.c.wn; import java.util.ArrayList; public final class kp$a { public String bUR; public String bUS; public boolean bUT = false; public Bundle bUU; ...
//Exercise 4-F. public class MathUtil { public static void main(String[] args) { printDifference(-4, 5); printAbsValue(-45); printDifference(1000, 4000000); } private static void printDifference(int a, int b) { int difference = a - b; System.out.println("The...
package com.anibal.educational.rest_service.comps.service.impl; import java.io.File; import java.io.InputStream; import com.anibal.educational.rest_service.comps.service.FileManagingException; import com.anibal.educational.rest_service.comps.service.FileManagingService; import com.anibal.educational.rest_servi...
package fall2018.csc2017.matchingcards; import android.util.Log; import java.io.Serializable; import java.lang.reflect.Field; import fall2018.csc2017.R; import fall2018.csc2017.common.Token; /** * A Card in a Matching Cards game. */ public class Card extends Token implements Serializable { /**...
package edu.utexas.cs345.jdblisp; import java.io.PrintWriter; import java.util.ArrayList; import java.util.LinkedList; /** * SpecialFormEntry * @author Jonathan Bernard (jdbernard@gmail.com) * Enhanced by Carine Iskander (carine_iskander@mail.utexas.edu) & Pia Chakrabarti (piachakra@mail.utexas.edu) */ ...
package businesscode; /** * * @Filename Demograph.java * * @Version $Id: Demograph.java,v 1.0 2014/02/25 09:23:00 $ * * @Revisions * Initial Revision */ import connect.JDBCMySQLMain; import gui.Graph; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; import java.util.H...
package com.app.shubhamjhunjhunwala.thebakingapp; import android.content.Intent; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.support.v7.app.AppCompatActivity; import android.util.Log; import android.view.MenuItem; import android.view.V...
package com.services.utils.encrypt; /** * Created by yoke on 2015-10-22. */ public class EncryptException extends Exception { public EncryptException(Exception e) { super(e); } }
package com.jk.jkproject.ui.chat; import com.blankj.utilcode.constant.TimeConstants; import com.blankj.utilcode.util.TimeUtils; import com.jk.jkproject.ui.entity.BaseInfo; import com.jk.jkproject.utils.Constants; import org.json.JSONException; import org.json.JSONObject; import java.util.ArrayList; import java.util....
package com.tencent.mm.plugin.fav.ui.detail; import com.tencent.mm.plugin.fav.ui.detail.FavoriteVideoPlayUI.4; import com.tencent.mm.ui.tools.f.b; class FavoriteVideoPlayUI$4$1 implements b { final /* synthetic */ 4 jdP; FavoriteVideoPlayUI$4$1(4 4) { this.jdP = 4; } public final void onAnim...
package org.mycompany.service.offer.comparator; import org.mycompany.entity.Offer; import java.util.Comparator; public class BuyOfferComparator implements Comparator<Offer> { @Override public int compare(Offer offer1, Offer offer2) { int comparePrice = Integer.compare(offer1.getPrice(), offer2.getPri...
package com.hand6.health.app.service; import com.hand6.health.domain.entity.MotionIndicators; import com.hand6.health.domain.entity.MotionRecords; import javax.servlet.http.HttpServletRequest; import java.util.List; /** * Created by Administrator on 2019/7/3. */ public interface MotionRecordsService { MotionR...
package com.learn.learn.设计模式.Builder; public class Builder { private boolean isLong; private boolean isThin; private boolean isBuild; public Builder(Build build) { isLong = build.isLong; isThin = build.isThin; isBuild = build.isBuild; } public String toString() { ...
package com.task.Dao; import java.util.List; import com.task.model.Task; public class TaskDaoImpl implements TaskDao { public void createTask(Task task) { // TODO Auto-generated method stub } public void updateTask(int taskId, Task task) { // TODO Auto-generated method stub } public void delet...
package Kamil_zerg; import java.util.*; import battlecode.common.Direction; import battlecode.common.GameActionException; import battlecode.common.MapLocation; import battlecode.common.Message; import battlecode.common.RobotController; import battlecode.common.Team; /** * * @author Mimuw_ZERG * *...
package com.app.gnometown.View.GnomeDetail; import com.app.gnometown.Model.Gnome; /** * Created by andreinasarda on 19/4/16. */ public interface populateDetailInteractor { interface onDetailLoadedListener{ void onSuccess(Gnome gnome); void onFail(); } void loadDetail(onDetailLoadedL...
class Solution { class Node{ int id; // distance from source node int distance = Integer.MAX_VALUE; Map<Node, Integer> adjacentNodes = new HashMap<>(); public Node(int id){ this.id = id; } } public int networkDelayTime(int[][] times, ...
package fr.formation.spring.museum.security; import fr.formation.spring.museum.models.Account; public interface IAccountDetailsProvider { public AccountDetails getDetails(); public Account getAccount(); }
package com.zooniverse.android.android_zooniverse.projects; import retrofit.http.GET; import retrofit.http.Headers; public interface ProjectsRetrofitInterface { @Headers("Accept: application/vnd.api+json; version=1") @GET("/projects") ProjectsResponse getProjects() throws Exception; }
package kr.pe.ssun.bark; import android.content.Intent; import android.support.v4.app.FragmentActivity; import com.facebook.AccessToken; import com.facebook.login.widget.LoginButton; import com.google.android.gms.common.SignInButton; import kr.pe.ssun.bark.login.FacebookLoginHelper; import kr.pe.ssun.bark.login.Goog...
package 真题.ten; import java.util.Scanner; /** * @Author: Mr.M * @Date: 2019-04-02 20:28 * @Description: https://www.nowcoder.com/question/next?pid=10611931&qid=161633&tid=22857608 **/ public class T4 { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int k = Integer.valueOf(...
package pl.agh.edu.dp.labirynth.Utils; import lombok.AllArgsConstructor; import lombok.EqualsAndHashCode; import lombok.ToString; @AllArgsConstructor @EqualsAndHashCode @ToString public class Vector2d { final public int x; final public int y; public Vector2d nextPos(Direction dir) { switch (dir) ...
package programmers.lv3; public class Ranking_Test { //순위 //플로이드 워셜 알고리즘 문제 //플로이드 워셜 알고리즘을 몰랐기에 검색 후 해결 //https://in-intuition.tistory.com/25 이 블로그에서 참고했다. public int solution(int n, int[][] results) { int answer = 0; boolean[][] game = new boolean[n][n]; for (int i = 0; i...
package com.jmsReader.webSocket; import org.springframework.web.bind.annotation.CrossOrigin; import org.springframework.web.bind.annotation.RestController; import javax.sound.sampled.LineUnavailableException; import javax.ws.rs.*; import javax.ws.rs.core.MediaType; import javax.ws.rs.core.Response; /** * @author Vl...
package Math; public class Reverse_7 { /*7.整数反转*/ /* 注意超过int的最大最小值的情况; */ public int reverse(int x) { boolean flag = false; int res = 0; if(x < 0){ flag = true; } while(x != 0){ if(flag){ if( res < Integer.MIN_VALUE / ...
import com.sun.source.tree.Scope; import java.io.*; import java.net.ServerSocket; import java.net.Socket; import java.util.HashSet; import java.util.Iterator; public class Server { private Socket socket; private ServerSocket serverSocket; private String ipInfo; private BufferedReader bufferedReader; ...
package net.h2.web.core.config; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.PropertySource; import org.springframework.context.annotati...
class Circle{ int radius; public Cricle(int radius) { this.radius = radius; } public double getArea() { return 3.14*radius*radius; } } public class CircleArray { public static void main(String ar[]) { Circle[] c; c = new Circle[5]; for(int i = 0;i<=4;i++) { } } }
package dictionary; public class Main { public static void main(String[] args) { // Test your dictionary here MindfulDictionary dict = new MindfulDictionary("src/words.txt"); dict.load(); dict.add("onet", "mendy"); dict.save(); } }
package mainpackage; import java.io.IOException; import java.util.ArrayList; import java.util.List; import java.util.Scanner; import com.google.gson.Gson; import com.google.gson.GsonBuilder; public class Admin extends Users { List<Program> Programs = new ArrayList<Program>(); public Admin(String username, St...
package saudacoes; import saudacoes.Saudacao; public class TestaSaudacao { public static void main(String[] args) { Saudacao saudacao = new Saudacao(); saudacao.texto = "Boa noite"; saudacao.destinatario = "Someone"; System.out.println(saudacao.obterSaudacao()); } }
/* Things I've learned: - Check corner cases - In this case, the case where the center is less than either one of the sides */ import java.util.*; import java.io.*; public class cf491a{ public static void main(String [] args) throws IOException{ InputReader in = new InputReader("cf491a.in"); int a = in.next...
package am.main.data.jaxb.am.logger; import javax.xml.bind.JAXBElement; import javax.xml.bind.annotation.XmlElementDecl; import javax.xml.bind.annotation.XmlRegistry; import javax.xml.namespace.QName; /** * This object contains factory methods for each * Java content interface and Java element interfa...
package top.kylewang.bos.dao.transit; import org.springframework.data.jpa.repository.JpaRepository; import top.kylewang.bos.domain.transit.InOutStorageInfo; /** * @author Kyle.Wang * 2018/1/13 0013 16:26 */ public interface InOutStorageInfoRepository extends JpaRepository<InOutStorageInfo,Integer> { }
package Model.MakingPackage; import Model.*; import java.util.List; public class Make { public void makeStudent(String username, List<Student> list){ Student s = new Student(username); list.add(s); } public void makeCourse(String name, int unit, int capacity, int start, int end, Day day, ...
// Sun Certified Java Programmer // Chapter 1, P75_5 // Declarations and Access Control package pkgA; public class Foo { int a = 5; protected int b = 6; public int c = 7; }
class Main { public static void main(String[] a) { System.out.println(3); } } class Simple { int fun() { int x; boolean a; boolean b; int[] arr; if (2 < 3) { { x = 5; while (x < 7) { a = false; if (x < 3) { b = a && true; } else { a = true; } b = a && tru...
/** * Author: obullxl@gmail.com * Copyright (c) 2004-2014 All Rights Reserved. */ package com.github.obullxl.lang.utils; import org.springframework.cache.Cache.ValueWrapper; import org.springframework.cache.CacheManager; import org.springframework.cache.ehcache.EhCacheCacheManager; /** * 缓冲服务 * <p/> * 目前基于EhCac...
package com.ibiscus.myster.service.assignment; import java.sql.Date; import java.sql.Time; import java.time.LocalTime; import java.util.List; import java.util.Optional; import java.util.StringJoiner; import java.util.stream.Collectors; import com.ibiscus.myster.model.company.PointOfSale; import com.ibiscus.myster.mod...
package com.gcit.training.library.dao; import java.sql.Connection; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; import java.util.List; import com.gcit.training.library.Books; import com.gcit.training.library.Genre; public class GenreDAO extends BaseDAO<Genre> { ...
package biz.infosoft.bellweather.DAL; import java.util.ArrayList; import java.util.LinkedHashSet; import java.util.List; import biz.infosoft.bellweather.R; public class LocationDAL { private static final int imgId = R.drawable.airplane; // sample Points of Interest (POI) location public static final Lin...
package com.simple.msg; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.view.View; import android.widget.EditText; import com.simple.msg.message.MsgFactory; import com.simple.msg.message.MsgManager; public class MainActivity extends AppCompatActivity { private MsgManage...
package com.atn.app.webservices; public interface PromotionExpireWebServiceListener { public abstract void onFailed(int paramInt, String paramString); public abstract void onSuccess(String paramString); }
package com.zking.ssm.service; import com.zking.ssm.model.Customer; import com.zking.ssm.model.Order; import org.junit.Before; import org.junit.Test; import org.springframework.beans.factory.annotation.Autowired; import java.util.List; /** * @anthor 小李 * @ddddddd * @company 郴州 * @create 2020-11-27 19:28 */ publ...
package com.tencent.mm.g.c; import android.content.ContentValues; import android.database.Cursor; import com.tencent.mm.sdk.e.c; public abstract class et extends c { private static final int cTC = "timeStamp".hashCode(); private static final int cTF = "link".hashCode(); private static final int cTG = "img...
package com.uphyca.stetho_realm.delegate; import com.facebook.stetho.inspector.jsonrpc.JsonRpcException; import com.facebook.stetho.inspector.jsonrpc.JsonRpcPeer; import com.facebook.stetho.inspector.jsonrpc.JsonRpcResult; import com.facebook.stetho.inspector.protocol.ChromeDevtoolsDomain; import com.facebook.stetho.i...
public class PlayingCard { // begin PlayingCard data type // public constants public static final int ACE = 1, JACK = 11, KNIGHT = 12, QUEEN = 13, KING = 14; public static final int[] RANKS = {ACE, 2, 3, 4, 5, 6, 7, 8, 9, 10, JACK, KNIGHT, QUEEN, KING}; // rank order of playing cards ...
package com.bluemingo.bluemingo.domain; import org.springframework.security.core.GrantedAuthority; public class RoleVO implements GrantedAuthority{ private static final long serialVersionUID = 1L; private String role_name; public RoleVO(String rolename){ this.role_name = rolename; } @Override public Str...
package ru.abusabir.test; /** * Oleg * 23.10.2016 */ public enum CardName { CARD1, CARD2, CARD3, CARD4, CARD5, CARD6, CARD7, CARD8, CARD9, CARD10, CARD11, CARD12, CARD13, CARD14, CARD15, CARD16, CARD17, CARD18, CARD19, CARD20, CARD21, CARD22, CARD23, CARD24 }
package com.kashu.controller.base; import javax.servlet.http.Cookie; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.ModelAttribute; import...
package com.pangpang6.books.base; /** * Created by jiangjiguang on 2017/9/1. */ public class BlackDog extends Dog { }
package dk.aarhustech.edu.rainbow.horario; import android.content.Context; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.Path; import android.graphics.PointF; import android.util.AttributeSet; import android.util.Log; import android.view.GestureDe...
package geometries; import java.util.List; import primitives.*; /** * Geometries interface, represent all the geometries * @author Rina and Tamar * */ public abstract class Geometry implements Intersectable { /** * Geometry values */ protected Color _emission; protected Material _materi...
package com.albabich.grad; import com.albabich.grad.model.User; import com.albabich.grad.to.UserTo; import com.albabich.grad.util.UserUtil; public class AuthorizedUser extends org.springframework.security.core.userdetails.User { private UserTo userTo; public AuthorizedUser(User user) { super(user.ge...
package com.smxknife.cache.custom.jsr107; import com.smxknife.cache.custom.CsCache; import com.smxknife.cache.custom.store.impl.BasicDataStore; import javax.cache.Cache; import javax.cache.CacheManager; import javax.cache.configuration.CacheEntryListenerConfiguration; import javax.cache.configuration.Configuration; i...
package hu.bme.aut.exhibitionexplorer; import android.content.Intent; import android.graphics.PointF; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.widget.Toast; import com.dlazaro66.qrcodereaderview.QRCodeReaderView; import hu.bme.aut.exhibitionexplorer.data.Artifact; pu...
package asscry; import java.io.File; import org.bouncycastle.jce.provider.BouncyCastleProvider; import java.io.FileNotFoundException; import java.io.IOException; import java.security.Key; import java.security.KeyPair; import java.security.KeyPairGenerator; import java.security.NoSuchAlgorithmException; import java....
package com.file; import java.io.*; import javax.servlet.*; import javax.servlet.annotation.*; import javax.servlet.http.*; @WebServlet("/WriteFile") public class WriteFile extends HttpServlet{ private static final long serialVersionUID = 1L; public WriteFile(){ super(); //TODO Auto-generated ...
/* * [y] hybris Platform * * Copyright (c) 2000-2016 SAP SE * All rights reserved. * * This software is the confidential and proprietary information of SAP * Hybris ("Confidential Information"). You shall not disclose such * Confidential Information and shall use it only in accordance with the * terms of the l...
import java.util.*; public class ClientTest { public static void main(String[] s) { Client c1 = new Client("jkb", "lrnz", "street name and other things"); Client c2 = new Client("Oscar", "Kilo", "rd name and some things"); ClientList list = ClientList.instance(); list.insertClient(...
package pl.edu.agh.internetshop.MoneyTransfer; import pl.edu.agh.internetshop.MoneyTransfer.MoneyTransfer; import pl.edu.agh.internetshop.PaymentMethod; public interface MoneyTransferPaymentTransaction extends PaymentMethod { boolean validate(MoneyTransfer transfer); }
package com.hiwes.cores.other.deepreview4offlinecomputing.SparkMLlib.java.DecisionTree; import org.apache.spark.SparkConf; import org.apache.spark.api.java.JavaPairRDD; import org.apache.spark.api.java.JavaRDD; import org.apache.spark.api.java.JavaSparkContext; import org.apache.spark.mllib.clustering.KMeans; import o...
package net.liuzd.spring.boot.v2.util; import java.net.InetAddress; import java.net.InterfaceAddress; import java.net.NetworkInterface; import java.net.SocketException; import java.net.UnknownHostException; import java.util.Enumeration; import javax.servlet.http.HttpServletRequest; import lombok.extern.lo...
/*----------------------------------------------------------------------------*/ /* Copyright (c) 2019 FIRST. All Rights Reserved. */ /* Open Source Software - may be modified and shared by FRC teams. The code */ /* must be accompanied by the FIRST BSD license file in the root directory of...
package com.sietecerouno.atlantetransportador.sections; import android.app.ActionBar; import android.content.Intent; import android.support.annotation.NonNull; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.ImageView; ...
package com.tencent.mm.plugin.product.ui; import android.content.Context; import android.graphics.Bitmap; import android.support.v4.view.u; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import com.tencent.mm.platformtools.y; import com.ten...
package com.commercetools.sunrise.shoppingcart; import com.commercetools.sunrise.myaccount.CustomerSessionUtils; import com.google.inject.Injector; import io.sphere.sdk.carts.Cart; import io.sphere.sdk.carts.CartState; import io.sphere.sdk.carts.queries.CartQuery; import io.sphere.sdk.client.SphereClient; import io.sp...
package com.pz.Dto; import lombok.*; @Setter @Getter @AllArgsConstructor @NoArgsConstructor @Builder public class PokojeZdjeciaDto { private long id; private long idPokoju; private String zdjecie; }
package com.example.demo.model.dao; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.jdbc.core.JdbcTemplate; import org.springframework.stereotype.Component; @Component public class OrderedProductsDao { @Autowired private JdbcTemplate jdbcTemplate; public boolean...
/* * 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 teg.file; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io...
package ch.fhnw.edu.cpib.cst; import ch.fhnw.edu.cpib.cst.interfaces.IMechModeNTS; import ch.fhnw.edu.cpib.scanner.enumerations.Mechmodes; import ch.fhnw.edu.cpib.scanner.interfaces.IToken; import ch.fhnw.edu.cpib.scanner.keywords.Mechmode; // mechModeNTS ::= MECHMODE public class MechModeNTS extends Production imple...
/** **************************************************************************** * Copyright (c) The Spray Project. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at ...
package StepDefinitions; import static org.junit.Assert.*; import java.util.ArrayList; import java.util.List; import Exceptions.AdminNotFoundException; import Exceptions.DeveloperNotFoundException; import Exceptions.NotAuthorizedException; import Exceptions.OperationNotAllowedException; import Exceptions.OutOfBoun...
package com.leysoft.app.controller; import java.net.URI; import java.util.List; import javax.validation.Valid; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.Dele...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package factoria; import datos.Compra; import datos.Persona; import java.util.HashMap; /** * * @author profesor */ public interface ToXMLable { public void toXMLPersonas(HashMap<Integer, Persona> map,String...
package ar.com.ada.second.tdvr.model.repository; import ar.com.ada.second.tdvr.model.entity.Song; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; @Repository public interface SongRepository extends JpaRepository<Song, Long> { }
package bit; /** * @Author: Mr.M * @Date: 2019-04-04 17:33 * @Description: **/ public class T1 { public static void main(String[] args) { int mask = 7; int t = 2; int mask1 = mask | (1 << t); int mask2 = mask & (~(1 << t)); System.out.println(mask1); System.out.println(mask2); } }
package TableSorter_IsSortedTests; import cs5387.Table; import cs5387.TableSorter; import static org.junit.jupiter.api.Assertions.*; import org.junit.jupiter.api.Test; class Size2x2MaxMinTest { @Test void test() { //create TableSorter object to access methods TableSorter ts = new TableSorter(); int min = ...
package com.chuxin.family.libs.gpuimage.activity; import android.annotation.TargetApi; import android.app.Activity; import android.app.AlertDialog; import android.content.DialogInterface; import android.content.Intent; import android.graphics.Bitmap; import android.graphics.Bitmap.CompressFormat; import android.graphi...
import java.util.Comparator; import components.queue.Queue; import components.queue.Queue1L; import components.sequence.Sequence; import components.simplereader.SimpleReader; import components.simplereader.SimpleReader1L; import components.simplewriter.SimpleWriter; import components.simplewriter.SimpleWriter1L; impor...
/** * */ package com.paytechnologies.DTO; import java.util.ArrayList; /** * @author Sujay * */ public class MatchUsersDTO { private ArrayList<MatchingUserProfileDTO> liveUsers = new ArrayList<MatchingUserProfileDTO>(); private ArrayList<MatchingUserProfileDTO> deadUsers = new ArrayList<Matching...
public class Prueba { public static void main(String[] args) { // TODO code application logic here if (a == a){ System.out.println(); } else{ System.out.println("Hola mundo"); int xd; int a = 5 * 10 + (a*b); float b = 5 + ...
package com.gerray.fmsystem.ManagerModule; import android.annotation.SuppressLint; import android.content.Intent; import android.os.Bundle; import android.view.MenuItem; import android.view.View; import android.widget.ImageView; import android.widget.TextView; import android.widget.Toast; import androidx.annotation.N...
package com.example.demo_boot.controller; import com.example.demo_boot.persistence.BaseC; import com.example.demo_boot.service.ExService; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jackson.databind.ObjectMapper; import com.fa...
package com.localhost.gwt.client.service; import com.google.gwt.user.client.rpc.AsyncCallback; import com.localhost.gwt.shared.transport.ServiceRequest; import com.localhost.gwt.shared.transport.ServiceResponse; import com.localhost.gwt.shared.SharedRuntimeException; import com.localhost.gwt.shared.model.Word; import...
package com.tencent.mm.plugin.welab.a; import android.text.TextUtils; import com.tencent.mm.kernel.g; import com.tencent.mm.plugin.messenger.foundation.a.a.h; import com.tencent.mm.plugin.messenger.foundation.a.i; import com.tencent.mm.plugin.welab.a.a.a; import com.tencent.mm.plugin.welab.e; import com.tencent.mm.pro...
package wad.controller; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.ResponseBody; @Controller public class DefaultController { @RequestMapping("*") @ResponseBody public String home() {...
package com.toracode.myreminder.database; import android.database.Cursor; import android.database.CursorWrapper; import com.toracode.myreminder.Task; import com.toracode.myreminder.database.TaskDbSchema.TaskTable; import java.util.Date; import java.util.UUID; public class TaskCursorWrapper extends CursorWrapper { ...
package br.org.funcate.glue.utilities.patterns; /** * @author MOREIRA, Vinicius Fernandes \brief Interface that represents the * Subject in the Observer Design Pattern. This kind of subject sends * updates to its observers when there is some action on it. */ public interface ActionSubject { /** ...
package com.eason.lottert.controller; import com.eason.lottert.bean.BallHistory; import com.eason.lottert.bean.Note; import com.eason.lottert.service.ForumService; import com.eason.lottert.service.HistoryService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.domain.Pag...
package tzh.myapplication; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.widget.Button; import butterknife.BindView; import butterknife.ButterKnife; import butterknife.OnClick; /** * Created by 001 on 2016/5/18. */ public class SecondActivity extends AppCompatActivity { ...
/* * Copyright (C) 2019-2023 Hedera Hashgraph, LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
package com.yida.design.adapter.extension.impl; import java.util.HashMap; import java.util.Map; import com.yida.design.adapter.extension.IOuterUserHomeInfo; /** ********************* * @author yangke * @version 1.0 * @created 2018年5月31日 下午5:33:15 *********************** */ public class OuterUserH...
package com.s24.redjob.queue; import com.s24.redjob.worker.AbstractWorkerFactoryBean; import java.util.List; import org.springframework.beans.factory.FactoryBean; /** * {@link FactoryBean} for easy creation of a {@link FifoWorker}. */ public class FifoWorkerFactoryBean extends AbstractWorkerFactoryBean<FifoWorker...
package model; import Database.HBConnection; /** * * @author khattry * */ public class Setup { public static void main(String[] args) { HBConnection db = new HBConnection(); // Mitarbeiter mitarbeiter=Mitarbeiter.createrMitarbeiter("heba", // "emam", 67000); // db.saveObject(mitarbeiter); // // O...
package com.zhouyi.business.core.dao; public interface BuffBaseMapper<T,V> extends BaseMapper<T,V> { int deleteByPrimaryKey(String pkId); int insert(T t); int insertSelective(T t); T selectByPrimaryKey(String pkId); int updateByPrimaryKeySelective(T t); int updateByPrimaryKey(T t); in...