text
stringlengths
10
2.72M
package com.tencent.mm.plugin.ipcall.ui; import android.content.DialogInterface; import android.content.DialogInterface.OnClickListener; import com.tencent.mm.plugin.ipcall.ui.IPCallShareCouponCardUI.6; class IPCallShareCouponCardUI$6$1 implements OnClickListener { final /* synthetic */ 6 kyo; IPCallShareCou...
package www.chaayos.com.chaimonkbluetoothapp.management.service; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.UUID; import www.chaayos.com.chaimonkbluetoothapp.bluetooth.Constants; import www.chaayos.com.chaimonkbluetoothapp.data.model.Or...
package com.ev.srv.demopai.api; import com.evo.api.springboot.exception.ApiException; import com.ev.srv.demopai.service.PingService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.ResponseEntity; import org.springframework.http.HttpStatus; import org.springframework.web...
package com.daheka.nl.social.shadowfish.restserver.rest; import org.springframework.http.HttpStatus; import org.springframework.web.bind.annotation.ResponseStatus; /** * Exception class that is thrown when a resource is not found */ @ResponseStatus( value = HttpStatus.NOT_FOUND ) class ResourceNotFoundException ext...
package com.bespinglobal.alertnow.models; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; @Data @AllArgsConstructor @NoArgsConstructor public class Integration { private String eventId; private String Package; private String platform; private String eventTime; ...
package com.mega.mvc07.test; public class One1 { public One1() { System.out.println("ssssssssssss"); } }
package bdda; import exception.SGBDException; import java.io.*; import java.util.ArrayList; public class DBDef implements Serializable { private ArrayList<RelDef> listeDeRelDef; private int compteurRel; private static DBDef dbdef = new DBDef(); private DBDef() { listeDeRelDef = new ArrayList<RelDef>(); thi...
package main.model; public class Arc extends CommonField { private String arcType; private String transId; private String placeId; private CommonField annot; public String getArcType() { return arcType; } public void setArcType(String arcType) { this.arcType = arcType; } public String getTransId() { r...
package negocio.editorial; import java.util.Collection; /** * The Interface SAEditorial. */ public interface SAEditorial { /** * Alta editorial. * * @param tEditorial * the t editorial * @return the integer * @throws Exception * the exception */ public Integer altaEdi...
/* * StatisticCustomTagService.java * This file was last modified at 2018.12.03 20:05 by Victor N. Skurikhin. * $Id$ * This is free and unencumbered software released into the public domain. * For more information, please refer to <http://unlicense.org> */ package ru.otus.server.services; import org.apache.logg...
package com.chaabane.jasperlog; import org.junit.jupiter.api.Test; import org.springframework.boot.test.context.SpringBootTest; @SpringBootTest class JasperlogApplicationTests { @Test void contextLoads() { } }
package twoLayerNN; import java.util.Arrays; public class NeuralNetwork { /* * activation function: logistic function * f(x) = 1 / (1 + e^(-x)) * * NOTE: WE DO NOT COUNT 'INPUTS' AS A LAYER * * size_list = { num_of_neurons_in_layer_0 (inputs), * num_in_layer_1 (first hidden layer), * ...
package com.mygdx.game; import espresso.Matrix; import espresso.Approximation; import espresso.Action; import espresso.Policy; import com.badlogic.gdx.ApplicationAdapter; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.graphics.GL20; import com.badlogic.gdx.graphics.Texture; import com.badlogic.gdx.graphics.g2d....
package com.smxknife.java.ex20.b; /** * @author smxknife * 2018-12-02 */ public class Aa { int a = 1; protected void output() { System.out.println(a); } }
import java.math.BigInteger; import java.net.InetSocketAddress; public class NodeInfo { private BigInteger nodeId; private InetSocketAddress socketAddress; private String ip; private int port; public NodeInfo(BigInteger nodeId, InetSocketAddress socketAddress) { this.nodeId = nodeId; ...
package com.tencent.ugc; import android.graphics.Bitmap; public interface TXRecordCommon$ITXSnapshotListener { void onSnapshot(Bitmap bitmap); }
package org.example.db; import com.sun.tools.javah.Gen; import org.example.model.Actor; import org.example.model.Genre; import org.example.model.Movie; import java.sql.*; import java.util.ArrayList; public class MySQLConnection { private static MySQLConnection instance = null; private Connection connection;...
package javax.vecmath; import java.io.Serializable; public class GVector implements Serializable, Cloneable { private int length; double[] values; static final long serialVersionUID = 1398850036893875112L; public GVector(int length) { this.length = length; this.values = new double[length]; ...
class TestTrieTree { public static void main(String[] args) { TrieTree trie = new TrieTree(); String[] dict = new String[]{"hello", "word", "i", "love", "you", "your"}; for (String word : dict) { trie.insert(word); } for (String word : dict) { System.out.println(trie.search(word)); ...
package ba.bitcamp.LabS11D04.vjezbe; import java.io.InputStream; import java.io.DataInputStream; import java.io.IOException; public class BitBuffer { private static InputStream is; public BitBuffer(InputStream is) { this.is = is; } public String readLine() { byte[] buffer = new byte[10]; StringBuil...
package JavaEgzersiz.OOPPresinpleri.TeknoMarket; public class Bilgisayar { private String islemci; private String ekranKarti; private Double ekranBoyutu; private String depolamaTuru; private Integer depoHacmi; private String marka; private Double fiyat; public Double getFiyat() { ...
/* * 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 dao; /** * * @author SAMUEL */ public class Notas { int[] notas; Asignatura codAsignatura; ...
package com.yida.design.builder.demo; import java.util.Random; import java.util.concurrent.ArrayBlockingQueue; import java.util.concurrent.CountDownLatch; import java.util.concurrent.ThreadPoolExecutor; import java.util.concurrent.TimeUnit; import com.yida.design.builder.demo.car.BMWModel; import com.yida.de...
package com.fatosajvazi; public class Main { public static void main(String[] args) { // write your code here System.out.println(hasSameLastDigit(12,5,22)); } public static boolean isValid(int number) { if (number < 10 || number > 1000){ return false; } ...
import java.util.Vector; public class FileTable { private Vector table = new Vector<FileTableEntry>(); // the actual entity of this file table private Directory dir; // the root directory public FileTable(Directory directory) { // constructor dir = directory; // r...
/** * */ package org.rebioma.client.bean.api; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlRootElement; /** * @author Mikajy * */ @XmlRootElement(name="response") @XmlAccessorType (XmlAccessType.FIELD) public...
package com.tencent.mm.plugin.sns.storage.AdLandingPagesStorage.AdLandingPageComponent.component.widget; import android.view.View; import android.view.animation.AnimationUtils; import com.tencent.mm.plugin.sns.storage.AdLandingPagesStorage.AdLandingPageComponent.component.widget.a.b; class a$b$5 implements Runnable {...
package a2lend.app.com.a2lend; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import android.widget.Toast; /** * Created by Igbar...
package com.maspain.snake.entity; import java.util.Hashtable; import com.maspain.snake.game.Game; import com.maspain.snake.graphics.Screen; import com.maspain.snake.entity.SnakeHead; import com.maspain.snake.entity.Entity; import com.maspain.snake.entity.SnakeFood; import com.maspain.snake.level.PixelCoordinate; pub...
package com.example.deviceapi.vo; import javax.validation.constraints.NotBlank; public class GetUserGetRequest { @NotBlank private String userNo; public String getUserNo() { return userNo; } public void setUserNo(String userNo) { this.userNo = userNo; } }
package micro.usuarios.publicos.services; import java.util.HashSet; import java.util.List; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.BeanUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.domain.Page; import org.springf...
/* * 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 vasylts.blackjack.game; import java.util.List; import java.util.Set; import vasylts.blackjack.deck.IDeck; import vasylts.black...
package com.github.agmcc.slate.ast.mapper; import com.github.agmcc.slate.antlr.SlateParser.AssignmentStatementContext; import com.github.agmcc.slate.antlr.SlateParser.BinaryOperationContext; import com.github.agmcc.slate.antlr.SlateParser.BlockStatementContext; import com.github.agmcc.slate.antlr.SlateParser.BooleanLi...
package com.pineapple.mobilecraft.tumcca.data; import com.google.gson.Gson; /** * Created by yihao on 15/5/26. */ public class Account { /** * 手机 */ public String mobile; /** * 权限 */ public String authority; /** * 邮箱 */ public String email; public static...
package com.epam.strings.text.factory; import com.epam.strings.text.sorter.WordSorterByLength; import com.epam.strings.text.sorter.ParagraphSorter; import com.epam.strings.text.sorter.Sorter; import com.epam.strings.text.sorter.SorterType; import com.epam.strings.text.sorter.WordSorterByAmountSymbol; import org.testng...
package com.example.qiaolulu.qiaorecyclerview; /** * @author:qiaolulu * @date:2019/07/02 * @function:音乐类包含的信息 */ public class SongInfo { private String number; private String song; private String time; public String getNumber() { return number; } public void setNumber(String numbe...
package com.template.data; import android.arch.lifecycle.LiveData; import com.template.data.model.api.TestEntity; import com.template.data.remote.DataSourceInterface; import com.template.data.remote.Resource; import com.template.di.Remote; import javax.inject.Inject; import javax.inject.Singleton; @Singleton public...
package pkgGame; import static org.junit.jupiter.api.Assertions.*; import java.util.Arrays; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; import java.lang.reflect.*; public class SudokuTest { @Test public void Sudoku_Test1() { try { Sudoku s1 = new Sudoku(9); ...
package day15_Scanner_Stringclass; import java.util.Scanner; public class task03 { public static void main(String[] args) { /* write a program that asks to enter first and last name at th end shoul didsplay the full name */ Scanner input = new Scanner(System.in); System.out.println("Enter your first name"); S...
package com.att.api.sms.controller; import java.io.IOException; import java.io.PrintWriter; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.json.JSONArray; import org.json.JSONObject; import com.att.api.controller.APICont...
package com.infotecsjava.keyvalue.service; import java.io.IOException; import java.util.List; import org.springframework.stereotype.Service; import com.infotecsjava.keyvalue.model.KeyValueModel; /* * Интерфейс, описывающий сервис-хранилище */ @Service public interface KeyValueService { /* * Опер...
package quiz; import java.util.Scanner; public class Quiz28 { public static void main(String[] args) { /* *1. 가로, 세로를입력 받습니다 *2. 가로 길이, 세로길이의 사각형을 출력하면 됩니다 *3. 단, 윤곽만 나타나도록 처리합니다 *조건 : 첫행, 마지막 행에 출력, 첫열 마지막 열에 출력 */ Scanner scan = new Scanner(System.in); System.out.print("가로> ")...
package sample; import javafx.application.Application; import javafx.fxml.FXMLLoader; import javafx.scene.Parent; import javafx.scene.Scene; import javafx.stage.Stage; import sample.loadWorkBase.LoadWorksBase; import sample.welcomeWindow.WelcomeController; public class Main extends Application { @Override p...
/* * 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 rcpl; import java.sql.*; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse;...
package bnorm.timer; /** * A simple {@link ITimeout} implementation. * * @author Brian Norman */ public class Timeout extends Timer implements ITimeout { /** * The timeout value in seconds. */ private double timeout; /** * Creates a new timer with the specified timeout in seconds. ...
package bm; import java.util.Map; import org.openqa.grid.internal.utils.DefaultCapabilityMatcher; public class browserMatcher extends DefaultCapabilityMatcher{ @Override public boolean matches(Map<String, Object> nodeCapability, Map<String, Object> requestedCapability) { System.out.println("********...
package com.espendwise.manta.web.controllers; import com.espendwise.manta.model.data.BusEntityData; import com.espendwise.manta.model.view.ContactView; import com.espendwise.manta.model.view.SiteIdentPropertiesView; import com.espendwise.manta.model.view.SiteIdentView; import com.espendwise.manta.service.DatabaseUpdat...
package com.outsideintdd.katas.scoreboard; public class ScorePrinter { private static final String DELIMITER = ":"; private Console console; public ScorePrinter(Console console) { this.console = console; } public void print(int teamAScore, int teamBScore) { String aScore = String.format("%03d", te...
package backjun.silver; import java.util.Arrays; import java.util.Comparator; import java.util.Scanner; public class Main_1181_단어정렬 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); String[] dataSet = new String[N]; for (int i = 0; i < N; i++) { dataSe...
package com.ehootu.flow.service.impl; import java.util.List; import java.util.Map; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.ehootu.flow.dao.BlockingEventDao; import com.ehootu.flow.model.BlockingEventEntity; import com.ehootu.flow.servic...
package com.gtfs.bean; // Generated 30 Aug, 2014 4:24:58 PM by Hibernate Tools 3.4.0.CR1 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;...
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2016.05.19 at 03...
package runner; import org.junit.runner.RunWith; import cucumber.api.CucumberOptions; import cucumber.api.junit.Cucumber; @RunWith(Cucumber.class) @CucumberOptions(features="Featurefile/Expractice.feature", glue="stepDefinition",monochrome=true, format={"html:report/webReport","json:report/jsonwebReport.jso...
package com.zhowin.miyou.recommend.model; /** * 礼物列表 */ public class GiftList { /** * giftId : 1 * giftName : 玫瑰花 * giftPictureKey : http://qfah2px93.hn-bkt.clouddn.com/image.gift.xh.png * price : 66 * bidPrice : 64 * sort : 2 * enable : 1 * createTime : 1600153082000 ...
package com.mideas.rpg.v2.hud.social.who; import static com.mideas.rpg.v2.hud.social.SocialFrame.X_SOCIAL_FRAME; import static com.mideas.rpg.v2.hud.social.SocialFrame.Y_SOCIAL_FRAME; import java.util.ArrayList; import org.lwjgl.input.Mouse; import com.mideas.rpg.v2.FontManager; import com.mideas.rpg.v2.Mideas; imp...
package com.example.acer.retrofit; import android.annotation.SuppressLint; import android.content.Intent; import android.support.annotation.NonNull; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView...
package Guvi; public class ReverseInt { public int getReverseInt(int value) { int resultNumber = 0; for(int i = value; i !=0; i /= 10) { resultNumber = resultNumber * 10 + i % 10; } return resultNumber; } }
package com.example.todolist.Model.Repositories; import com.example.todolist.Model.Entities.EntryResponse; import com.example.todolist.Model.RemoteDataSource.Api_Interface; import com.google.gson.JsonObject; import io.reactivex.Single; public class EntryRepository { private Api_Interface api_interface; pub...
public class Rey extends Jedi implements LightSaber, Pilot{ public Rey(){ super("Rey","Both","Resistance",true); } public String lightSaber(){ return "yellow lightsaber"; } public boolean pilot(){ return true; } }
package com.tt.miniapphost.process.extra; import com.tt.miniapphost.process.helper.AsyncIpcHandler; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; public interface ICrossProcessOperator { void callbackOnOriginProcess(String paramString); boolean isSwitchProcessOper...
/******************************************************************************* * QBiC Project qNavigator enables users to manage their projects. * Copyright (C) "2016” Christopher Mohr, David Wojnar, Andreas Friedrich * * This program is free software: you can redistribute it and/or modify * it under the terms ...
/* * Copyright (c) 2008-2013, Hazelcast, Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
package com.cmpickle.volumize.view.schedule.edit; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.support.v4.app.Fragment; import com.cmpickle.volumize.R; import com.cmpickle.volumize.data.entity.ScheduleEvent; import com.cmpickle.volumize.view.edit....
/* * [y] hybris Platform * * Copyright (c) 2018 SAP SE or an SAP affiliate company. All rights reserved. * * This software is the confidential and proprietary information of SAP * ("Confidential Information"). You shall not disclose such Confidential * Information and shall use it only in accordance with the ter...
package com.fastjavaframework.listener; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.HashMap; import java.util.Map; import javax.sql.DataSource; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.context.ApplicationConte...
package com.crud.tasks.service; import com.crud.tasks.config.AdminConfig; import com.crud.tasks.config.CompanyDetails; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Qualifier; import org.springframework.stereotype.Service; import org.thymeleaf.Templa...
/* * Copyright © 2019 The GWT Project 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
package com.设计模式.抽象工厂.listfactory; import com.设计模式.抽象工厂.factory.*; public class ListFactory extends Factory { public Link createLink(String caption, String url) { return new ListLink(caption, url); } }
package hhh; public class TestOnGit { public static void main(String[] args) { int i=0; } }
package dograce.models; import javafx.beans.InvalidationListener; import javafx.beans.Observable; import javafx.scene.paint.Color; public class Dog { private String dogName; private Color color; private double posX = 0; private int speed = 10; public void setPlayerName(String name) { ...
package br.com.utfpr.dao.impl; import br.com.utfpr.beans.Address; import br.com.utfpr.dao.ConnectionBuilder; import br.com.utfpr.beans.Driver; import java.sql.Connection; import java.sql.Date; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; import...
package com.Arrays; import java.io.*; import java.math.*; import java.security.*; import java.text.*; import java.util.*; import java.util.concurrent.*; import java.util.regex.*; public class socks { // Complete the sockMerchant function below. static int sockM...
package com.travelportal.vm; import java.util.ArrayList; import java.util.List; import com.travelportal.domain.HotelStarRatings; import com.travelportal.domain.rooms.RateMeta; public class SerachedHotelbyDate { public String date; public List<SerachedRoomType> roomType; public String flag; public String get...
package pl.edu.pw.mini.gapso.optimizer.move; import com.google.gson.Gson; import pl.edu.pw.mini.gapso.configuration.MoveConfiguration; import pl.edu.pw.mini.gapso.optimizer.Particle; import pl.edu.pw.mini.gapso.optimizer.SamplingOptimizer; import pl.edu.pw.mini.gapso.utils.Generator; import java.util.List; public cl...
/* Generated SBE (Simple Binary Encoding) message codec */ package sbe.msg.marketData; import uk.co.real_logic.sbe.codec.java.CodecUtil; import uk.co.real_logic.agrona.MutableDirectBuffer; @SuppressWarnings("all") public class OrderModifiedEncoder { public static final int BLOCK_LENGTH = 26; public static fin...
package day24_loops; public class WhileLoopReverse { public static void main(String[] args) { int count =5; while(count >=0){ System.out.println("Count = " +count); count--; } System.out.println("Finished counting"); System.out.println("*********...
package rent.common.repository; import org.springframework.data.repository.PagingAndSortingRepository; import org.springframework.data.repository.query.Param; import org.springframework.data.rest.core.annotation.RepositoryRestResource; import rent.common.entity.RecalculationTypeEntity; import rent.common.projection.Re...
package com.example.hereapi_example; import java.util.List; import com.here.android.common.GeoCoordinate; import com.here.android.common.ViewObject; import com.here.android.mapping.FragmentInitListener; import com.here.android.mapping.InitError; import com.here.android.mapping.Map; import com.here.android.mapping.Map...
package org.buaa.ly.MyCar.exception; import org.buaa.ly.MyCar.http.ResponseStatusMsg; public class OrderIdentityDuplicate extends BaseError { public OrderIdentityDuplicate(String message) { super(ResponseStatusMsg.ERROR.getStatus(), message); } }
package com.xvr.serviceBook.controller.restapi.dtorepresentation; import com.fasterxml.jackson.annotation.JsonProperty; import com.xvr.serviceBook.entity.AppRole; import com.xvr.serviceBook.entity.Worker; import lombok.Builder; import lombok.EqualsAndHashCode; import lombok.Getter; import org.springframework.hateoas.C...
public class MinimumFlipToMonotonicIncrement { public static int minFlipsMonoIncr(String S) { int length = S.length(); int[] p = new int[length+1]; for(int i=0;i<length;i++) { p[i+1] = p[i] + (S.charAt(i) == '1'?1:0); } int flip = Integer.MAX_VALUE; for (...
package eu.lsem.bakalarka.dao; import eu.lsem.bakalarka.model.*; import org.springframework.dao.DataAccessException; import org.springframework.orm.ibatis.support.SqlMapClientDaoSupport; import org.springframework.transaction.TransactionStatus; import org.springframework.transaction.support.TransactionCallback; ...
package com.trey.fitnesstools; import android.app.Activity; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.text.Editable; import android.text.TextWatcher; import android.view.Menu; import android.view.MenuInflater; import android.view.MenuItem; ...
package cs455.nfs.shared.structure; import cs455.nfs.shared.structure.node.CurrentDirNode; import cs455.nfs.shared.structure.node.DirectoryNode; import cs455.nfs.shared.structure.node.FileNode; import cs455.nfs.shared.structure.node.Node; import cs455.nfs.shared.structure.node.ParentDirNode; public interface IVisitor...
package com.rofour.baseball.service.manager.impl; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Qualifier; import org.springframework.stereotype.Service; import com.rofour.baseball.controller.model.manager.KeywordInfo; import...
package data; import java.io.*; import java.util.ArrayList; import data.Recipe; public class FilterParseRecipeList { private String recipeFileLoc; private Recipe recipe; private ArrayList<Recipe> recipesList; private ArrayList<String> searchIngredientsList; private ArrayList<String> searchNegativeIn...
package LogReader; import java.awt.Color; import java.awt.Dimension; import java.awt.FlowLayout; import java.awt.Font; import java.awt.Frame; import java.awt.Toolkit; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.WindowAdapter; import java.awt.event.WindowEvent; import ...
package com.tencent.mm.protocal; import com.tencent.mm.protocal.c.g; final class c$gc extends g { public c$gc() { super("preloadMiniProgramContacts", "preloadMiniProgramContacts", 303, false); } }
package model; import java.util.List; import java.util.Vector; import model.impl.GridPointImpl; public interface AccessPointNetwork { public Vector<AccessPoint> getAccessPoints(int levelnumber); public Vector<Vector<AccessPoint>> getAccessPoints(); public void addAccessPoint(AccessPoint ap); public SensorNode ...
package am.itspace.newfeaturesinjava8.util; import am.itspace.newfeaturesinjava8.model.User; import org.springframework.stereotype.Component; import java.util.Arrays; import java.util.List; @Component public class UsersUtil { public static List<User> users(){ return Arrays.asList( new Us...
package com.epam.restaurant.controller.command.impl; import com.epam.restaurant.controller.command.Command; import com.epam.restaurant.controller.command.exception.CommandException; import com.epam.restaurant.controller.name.JspPageName; import com.epam.restaurant.entity.Dish; import com.epam.restaurant.entity.Order; ...
/* * Copyright © 2016, 2018 IBM Corp. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file * except in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
package com.lin.paper.service.impl; import java.text.DecimalFormat; import java.util.ArrayList; import java.util.Date; import java.util.List; import javax.annotation.Resource; import org.springframework.beans.factory.annotation.Value; import org.springframework.stereotype.Service; import com.github.pagehelper.PageH...
package com.example.userportal.security; import com.example.userportal.domain.Customer; import com.example.userportal.repository.CustomerRepository; import com.example.userportal.security.jwt.UserPrincipal; import lombok.RequiredArgsConstructor; import org.springframework.security.core.userdetails.UserDetails; import ...
package controllers; import java.util.ArrayList; import java.util.Collection; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.util.Assert; import org.springframework.validation.BindingResult; import org...
package com.example.todo.service; import com.example.todo.model.User; import com.example.todo.repository.UserRepository; import lombok.NonNull; import lombok.RequiredArgsConstructor; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.core.Authentication; import org.sprin...
package com.shakeboy.service; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.shakeboy.mapper.UArticleMapper; import com.shakeboy.pojo.UArticle; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.List; @Service...
package com.pineapple.mobilecraft.utils; /** * Created by yihao on 15/3/10. */ public abstract class SyncCallback<T> { private Object mLock = new Object(); T mResult = null; public T executeBegin() { // Thread t = new Thread(new Runnable() { // @Override // public void ru...
package ccnMultiChat.UI; import java.awt.BorderLayout; import java.awt.Dimension; import java.awt.Window; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.BorderFactory; import javax.swing.BoxLayout; import javax.swing.JButton; import javax.swing.JDialog; import javax.swing....
package com.example.shashankshekhar.application3s1.Map; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.text.Html; import android.view.View; import android.widget.LinearLayout; import android.widget.TextView; import com.example.shashankshekhar.application3s1.R; import com.exa...