text
stringlengths
10
2.72M
package ui; import javax.swing.JOptionPane; import db.회원DAO; import db.회원DAO2; import dto.회원Bag; public class 회원정보UI2 { public static void main(String[] args) { String id = JOptionPane.showInputDialog("회원가입id입력"); String pw = JOptionPane.showInputDialog("회원가입pw입력"); String name = JOptionPane.showInputDial...
package ex1databasewithjdcb; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.ResultSetMetaData; import java.sql.SQLException; import java.sql.Statement; import java.util.logging.Level; import java.util.logging.Logger; public class Adverage { static...
/* ***************************************************************************** * Name: Alan Turing * Coursera User ID: 123456 * Last modified: 1/1/2019 **************************************************************************** */ public class TrinomialDP { public static long trinomial(...
 //---------------------------------------- //------------Акселерометр---------------- //---------------------------------------- //Файл main.xml: <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" ...
package soft.chess.domain; import java.util.Set; import soft.chess.common.BaseEntity; //不与数据库发生关系,不需要持久化,服务器重启后刷新 public class RoomBean{ private long roomid; private String title; private long createtime; private Player creater; private Player joiner; //用于统计房间内的人数 private int num=1; //房间状态,0:等待中,1:游戏中 privat...
package actions; import util.Cell; import util.Grid; public class Nothing extends Action { @Override public void execute(Cell cell, Grid grid) { } }
package cn.hrmzone.main; import cn.hrmzone.util.OCRClient; import com.baidu.aip.ocr.AipOcr; import org.json.JSONArray; import org.json.JSONObject; import java.util.HashMap; /** * @Author:张生 * @Blog:http://hrmnzone.cn * @Organization:荆州青年教育平台(https://jzyouth.com),专注职业资格培训、学历提升 * @Description: * @Date:19-1-11 */...
package com.example.android.roomwithmoreentitiesapp.database; import android.arch.lifecycle.LiveData; import android.arch.persistence.room.Dao; import android.arch.persistence.room.Query; import com.example.android.roomwithmoreentitiesapp.model.Iphone; import java.util.List; @Dao public interface IphoneDao extends ...
package com.bonc.upms.controller; import com.bonc.upms.service.ISysUserService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; /** * @Title: vms * @Package: com.bonc.upms.c...
import javafx.scene.paint.Color; public class VerticalGamePiece extends GamePiece { public VerticalGamePiece(int h, Color c, int x, int y) { super(1, h, c, x, y); } public boolean canMoveDownIn(GameBoard b) { // REPLACE THE CODE BELOW WITH YOUR OWN CODE boolean checker = true; ...
/* Copyright (c) 2007-2017 MIT 6.005 course staff, all rights reserved. * Redistribution of original or derived work requires permission of course staff. */ package minesweeper; import java.io.BufferedReader; import java.io.IOException; import java.util.ArrayList; import java.util.List; /** * TODO: Specification ...
package mmazurkiewicz.springframework; import mmazurkiewicz.springframework.controllers.ConstructorInjectedController; import mmazurkiewicz.springframework.controllers.MyController; import mmazurkiewicz.springframework.controllers.PropertyInjectedController; import mmazurkiewicz.springframework.controllers.SetterInjec...
package controller.datamapper; import controller.dtos.AfspeellijstDTO; import controller.dtos.TrackDTO; import domain.Afspeellijst; import domain.Lied; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import java.util.Arrays; import static org.junit.jupiter.api.Assertions.assertEquals; imp...
package ga.islandcrawl.action; import ga.islandcrawl.action.Face; import ga.islandcrawl.action.MoveAction; import ga.islandcrawl.building.Constructor; import ga.islandcrawl.map.O; import ga.islandcrawl.map.Observer; import ga.islandcrawl.object.unit.Unit; /** * Created by Ga on 9/7/2015. */ public class Build exten...
package com.shangcai.action.customer.material; import java.io.IOException; public interface IDesignAction { /** * 发布作品-模板 */ public void publish() throws IOException; }
package cn.edu.hebtu.software.sharemate.Activity; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.AdapterView; import android.widget.Button; import android.widget.ListView; import java.text.ParseException; import...
package com.incuube.bot.util; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.SerializationFeature; import lombok.extern.log4j.Log4j2; import java.io.IOException; import java.util.Optional; @Log4j2 public class JsonC...
package com.lock; import java.util.concurrent.CountDownLatch; import java.util.concurrent.TimeUnit; //火箭发射 所有的步骤都完成 才能执行最后一步 , public class CountDownLatchTest { public static void main(String[] args) throws Exception { //定义总量6 设置status 的状态为6 CountDownLatch countDownLatc = new Cou...
package com.xuecheng.manage_course.client; import com.xuecheng.manage_cms.api.CmsPageApi; import org.springframework.cloud.openfeign.FeignClient; @FeignClient(value = "xc-service-manage-cms") public interface CmsPageClient extends CmsPageApi { }
package com.ironyard.music.controller; import com.ironyard.music.dto.GeoLocation; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RequestP...
/** * TestVids class: used to test the queries to the database * @author Andrea Bugin and Ilie Sarpe */ package test_Db; class TestVids { public static void main(String[] args) { /* Cluster cluster; Session session; cluster = Cluster.builder().addContactPoint("127.0.0.1").build(); session = cluster.c...
package Listeners; import java.awt.Component; import java.util.ArrayList; import java.util.List; import javax.swing.event.ChangeEvent; import javax.swing.event.ChangeListener; import FramesComponets.Wypozyczenie; import model.Model; import model.WypozyczenieModel; import control.AbstractContoler; import control.Abst...
package fr.cg95.cvq.testtool; import static org.junit.Assert.assertEquals; import static org.junit.Assert.fail; import java.io.File; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Set; import javax.annotation.Resource; import org.hibernate.SessionFactory; import org.ju...
package banking.exceptions; public class TooManyArgumentsException extends Exception { /** * */ private static final long serialVersionUID = 5417416424661983240L; }
import java.util.ArrayList; public class AddressBook { private ArrayList<BuddyInfo> buddies; public AddressBook(){ buddies = new ArrayList<BuddyInfo>(); } public void addBuddy(BuddyInfo buddy){ if (buddy != null){ buddies.add(buddy); } } public void removeBuddy(int index){ if(index < buddies.s...
/* (Geometry: area of a pentagon) The area of a pentagon can be computed using the * following formula: */ import java.util.Scanner; public class Exercise6_35 { /** Main method */ public static void main(String[] args) { Scanner input = new Scanner(System.in); // Prompt the user to enter the side of a pentag...
package bartender.services; import bartender.bardatabase.BarStorage; import bartender.items.NewDiscountBroadcast; import bartender.mics.MicroService; import bartender.mics.ProtocolCallback; import bartender.services.MessageBusImpl; public class BroadcastListenerService extends MicroService { private int mbt; ...
package com.javakc.ssm.modules.customerIn.service; import com.javakc.ssm.base.page.Page; import com.javakc.ssm.base.service.BaseService; import com.javakc.ssm.modules.customerIn.dao.CustomerInDao; import com.javakc.ssm.modules.customerIn.entity.CustomerInEntity; import org.springframework.beans.factory.annotation.Auto...
package com.tencent.mm.plugin.facedetect.service; import android.app.Service; import android.content.Intent; import android.os.IBinder; import android.os.Message; import android.os.Messenger; import com.tencent.mm.plugin.facedetect.FaceProNative; import com.tencent.mm.plugin.facedetect.FaceProNative.FaceResult; import...
package com.example.demo.Status.Exception; import com.example.demo.Status.GlobalException; public class NotFoundException extends GlobalException { public NotFoundException(String message, int code) { super(message, code); } }
package Controller; import DBConnection.DBQuery; import Model.Customer; import Model.User; import javafx.collections.FXCollections; import javafx.collections.ObservableList; import javafx.event.ActionEvent; import javafx.fxml.FXML; import javafx.fxml.FXMLLoader; import javafx.fxml.Initializable; import javafx.scene.No...
package com.tencent.mm.ui.tools; import android.app.Activity; import android.content.DialogInterface; import android.content.DialogInterface.OnClickListener; import com.tencent.mm.ac.d; import com.tencent.mm.storage.ab; class b$1 implements OnClickListener { final /* synthetic */ Activity ews; final /* synthe...
package com.mkyong; import org.junit.*; import org.springframework.boot.builder.SpringApplicationBuilder; public class SpringBootWebApplicationTest { @Test public void SpringBootWebApplicatioTest(){ SpringBootWebApplication sbw = new SpringBootWebApplication(); SpringApplicationBuilder sab = ne...
package de.madjosz.adventofcode.y2020; import java.util.Arrays; import java.util.HashMap; import java.util.Map; public class Day15 { private final int[] startingNumbers; public Day15(String input) { this.startingNumbers = Arrays.stream(input.split(",")).mapToInt(Integer::parseInt).toArray(); } ...
package com.tencent.mm.plugin.sns.ui; import com.tencent.mm.plugin.sns.lucky.a.m; import com.tencent.mm.plugin.sns.lucky.ui.a; import com.tencent.mm.plugin.sns.storage.n; import com.tencent.mm.plugin.sns.ui.SnsCommentFooter.c; import com.tencent.mm.protocal.c.bon; import com.tencent.mm.sdk.platformtools.ag; import com...
package jp.juggler.subwaytooter; import android.content.Context; import androidx.test.InstrumentationRegistry; import androidx.test.runner.AndroidJUnit4; import org.junit.Test; import org.junit.runner.RunWith; import static org.junit.Assert.*; // Android instrumentation test は run configuration を編集しないと E...
package com.github.io24m.validate4java.validator; import com.github.io24m.validate4java.ValidateMetadata; /** * @author lk1 * @description * @create 2021-02-01 13:25 */ public abstract class AbstractValidator<T> implements BaseValidator<T> { @Override public boolean pass(ValidateMetadata<T> metadata) { ...
package com.goldgov.dygl.module.partyMemberDuty.mutualevaluation.service.impl; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Qualifier; import org.springframework.st...
package com.xiaoxiao.service.backend.impl; import com.xiaoxiao.feign.BlogsFeignServiceClient; import com.xiaoxiao.pojo.XiaoxiaoArticles; import com.xiaoxiao.pojo.XiaoxiaoImg; import com.xiaoxiao.service.backend.ArticleFeignService; import com.xiaoxiao.utils.Result; import com.xiaoxiao.utils.StatusCode; import com.xiao...
public class BankCharges { private double fee = 10.0; private double lowBalance = 400.0; private double lowBalanceFee = 15.0; private int checksWritten; private double balance; public BankCharges(double b, int c) { balance = b; checksWritten = c; } public void setChecksWritten(int c) { checksWritten...
/* * Copyright 2018 The Apache Software Foundation. * * 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 applica...
package exceptions; // Referenced classes of package exceptions: // OberonException public class LexicalException extends OberonException { public LexicalException() { this("Lexical error."); } public LexicalException(String s) { super("LexicalException : \n" + s); ...
package com.tencent.mm.plugin.sns.ui; import android.graphics.LinearGradient; import android.graphics.Shader; import android.graphics.Shader.TileMode; import android.graphics.drawable.ShapeDrawable.ShaderFactory; class SnsHeader$3 extends ShaderFactory { final /* synthetic */ SnsHeader nWo; final /* synthetic...
package com.bozhong.lhdataaccess.restful.resources.baseController; import com.alibaba.fastjson.JSONObject; import com.alibaba.fastjson.serializer.SerializerFeature; import com.bozhong.common.util.ResultMessageBuilder; import com.bozhong.lhdataaccess.application.Context; import com.bozhong.lhdataaccess.client.common.co...
/** * @Title: ExpStoreInfo.java * @package com.rofour.baseball.idl.storecenter.service * @Project: axp-idl * @Description: (用一句话描述该文件做什么) * @author heyi * @date 2016年4月8日 下午3:48:24 * @version V1.0 * ────────────────────────────────── * Copyright (c) 2016, 指端科技. */ package com.rofour.baseball.controller.mode...
package com.onplan.adviser.predicate; import com.google.common.collect.ImmutableList; import com.onplan.adviser.AdviserPredicateInfo; import com.onplan.adviser.TemplateInfo; import com.onplan.adviser.TemplateMetaData; import static com.google.common.base.Preconditions.checkNotNull; public final class AdviserPredicat...
package com.example.inputclient; import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.IOException; import java.io.OutputStream; import java.util.ArrayList; import java.util.Set; import java.util.UUID; import android.bluetooth.BluetoothAdapter; import android.bluetooth.BluetoothDevice; impor...
class Point { int x,y; } Point p = new Point(); p.x == 0 attribútum nullaszerű értékkel inicializálva egész: 0 lebegőp. : 0.0 boolean: false char: \u0000 referencia: null void m(){ // forditasi hiba (statikus szemantikai szabaly megsertese) Point p; System.out.println(p.x); } void m(){ // minden ok Point p = ...
package cn.wycclub.dto; /** * @author WuYuchen * @Description 管理员订单信息 * @Date 2018-03-15 14:19 */ public class AdminOrder extends Order { protected String username; public String getUsername() { return username; } public void setUsername(String username) { this.user...
public class StringTest { public static void main(String[] args) { String b=new String("venkat"); String b1=b.intern(); System.out.println("b==b1"+ (b==b1)); System.out.println(b.equals(b1)); System.out.println(b.hashCode() + " "+ b1.hashCode()); String s="venkat"; String s1="venkat"; System.out.println...
public class Application { public static void main( String[] args ) { Verre verre = new Verre( 50, 300 ); int volumeVide = verre.vider( 25 ); System.out.println( volumeVide + " cl sont tombés du verre" ); volumeVide = verre.vider( 50 ); System.out.println( volumeVide + " cl sont tombés du verre" ); } }...
package thsst.calvis.configuration.model.engine; import thsst.calvis.editor.model.Flag; import java.util.ArrayList; public class EFlags extends Register { private ArrayList<Flag> flags; public EFlags() { this.value = "00000002"; buildFlags(); initializeValue(); } @Override ...
package com.runningphotos.ui; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.servlet.ModelAndView; /** * Created by Tensa on 06.02.2016. */ @Controller public class BasketController { @RequestMapping(value = "/baske...
package com.github.morihara.transactional.sample.service; import static org.hamcrest.CoreMatchers.is; import static org.hamcrest.MatcherAssert.assertThat; import static org.junit.Assert.fail; import java.math.BigDecimal; import java.util.Optional; import java.util.UUID; import org.junit.Before; import org.junit.Test...
package com.keytop.changeicon; import android.app.Activity; import android.content.ComponentName; import android.content.Intent; import android.content.pm.PackageManager; import android.net.Uri; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; public class MainActiv...
package com.abraham.dj; import java.text.DateFormat; import java.util.Date; import java.util.List; import java.util.Locale; import javax.annotation.Resource; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.spri...
/** * Copyright (c) 2016, 指端科技. */ package com.rofour.baseball.dao.manager.bean; import java.io.Serializable; /** * @ClassName: MsgConfigBean * @Description: 消息配置表实体类 * @author xzy * @date 2016年3月28日 上午10:04:09 * */ public class MsgConfigBean implements Serializable { private static final long serialVe...
/** * Represents an Athlete that can play sports at the Olympics! * * @author Confused Coder * @version 1.0 */ public class Athlete { protected int hunger; protected String name; protected boolean isACheater; /** * Public constructor. * * @param name the name of the athlete. * @par...
package top.piao888.hbgc.mapper; import java.util.List; import top.piao888.hbgc.domain.Report; import org.apache.ibatis.annotations.Mapper; @Mapper public interface ReportMapper { int deleteByPrimaryKey(Long rid); int insert(Report record); Report selectByPrimaryKey(Long rid); List<Report> selectAll...
package com.facebook.react.modules.fresco; import com.facebook.common.e.a; import com.facebook.drawee.a.a.c; import com.facebook.imagepipeline.b.a.a; import com.facebook.imagepipeline.e.h; import com.facebook.imagepipeline.e.i; import com.facebook.imagepipeline.n.ai; import com.facebook.react.bridge.LifecycleE...
package ro.msg.cm.configuration; import lombok.Data; import org.springframework.beans.factory.annotation.Value; import org.springframework.context.annotation.Configuration; @Data @Configuration public class StartYearProperties { @Value("${ro.msg.cm.university-year-start:10-01}") private String startYearDate; ...
package main.java.model.calculator; import java.util.Arrays; import java.util.HashMap; import java.util.HashSet; import java.util.Set; import static main.java.model.calculator.DataKey.*; // Author: Alexander Larnemo Ask, Jonatan Bunis, Vegard Landrö, Mohamad Melhem, Alexander Larsson Vahlberg // Responsibility: Calc...
package com.tfq.manager.web.model.response; import lombok.Data; /** * 统计信息基类 */ @Data public class BaseStatisticsResponseVO { /** * 统计信息的类型 */ private String type; /** * 统计信息的标题 */ private String title; }
package com.facebook.react.modules.debug; import android.content.Context; import android.widget.Toast; import com.a; import com.facebook.common.e.a; import com.facebook.react.bridge.JSApplicationCausedNativeException; import com.facebook.react.bridge.ReactApplicationContext; import com.facebook.react.bridge.Re...
package cn.com.custom.widgetproject.activity; import android.content.Context; import android.os.Bundle; import android.os.Handler; import android.os.Message; import android.support.v7.app.AppCompatActivity; import android.text.Html; import android.view.LayoutInflater; import android.view.View; import android.view.Wind...
package ca.ubc.cs304.model; public class VehicleModel { private final String license; private final String make; private final String model; private final String year; private final String color; private final int odometer; private final String status; private final String branch; p...
package edu.tecnasa.ecommerce.controller; import java.net.URI; import java.util.Optional; import java.util.function.Function; import javax.inject.Inject; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.springframework.data.domain.Page; import org.springframewor...
package presentacion.controlador.command.CommandEmpleado; import negocio.empleado.SAEmpleado; import negocio.empleado.TransferEmpleado; import negocio.factorias.FactorySA; import presentacion.contexto.Contexto; import presentacion.controlador.command.Command; import presentacion.eventos.EventosEmpleado; public clas...
class Planet { public static final double G = 6.67E-11; String workDir=System.getProperty("user.dir"); String uu=workDir+"/images/"; double aX; double aY; double xVel; double yVel; double xxPos; double yyPos; double xxVel; double yyVel; double mass; String imgFileName; public Planet(double xP, double yP, doubl...
package com.jim.multipos.utils; import android.app.Dialog; import android.content.Context; import android.view.Gravity; import android.view.View; import android.view.Window; import android.view.WindowManager; import android.widget.LinearLayout; import android.widget.TextView; import com.jim.multipos.R; import butter...
package com.github.hippo.netty; import com.github.hippo.bean.HippoRequest; import com.github.hippo.bean.HippoResponse; import com.github.hippo.callback.CallTypeHandler; import com.github.hippo.callback.RemoteCallHandler; import com.github.hippo.enums.HippoRequestEnum; import com.github.hippo.exception.HippoServiceExce...
/* * Copyright 2014 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
/* @author <<author name redacted >> Purpose: To sort a table in ascending order and check if sorted Programming Assignment 1 Course: CS5387 - Software Integration and V&V Professor: Dr. Steve Roach Last modification date: 1/25/2020 */ package cs5387; public class TablesSorter { /** A Places contains, is ...
package jp.co.logacy.exception; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.log4j.Logger; import org.apache.struts.Globals; import org.apache.struts.action.ActionForm; import org.apache.struts.action.ActionForwar...
package handwriting.learners.decisiontree; import handwriting.core.Drawing; public class DTInteriorNode implements DTNode { int featureX = 0, featureY = 0; DTNode left, right; public DTInteriorNode(int x, int y){ this(x, y, null, null); } public DTInteriorNode(int x, int y, DTNode left, ...
package com.tt.miniapphost.liveplayer; import com.tt.miniapp.liveplayer.ITTLivePlayer; /* Location: C:\Users\august\Desktop\tik\df_miniapp\classes.jar!\com\tt\miniapphost\liveplayer\BDPLivePlayer$WhenMappings.class * Java compiler version: 6 (50.0) * JD-Core Version: 1.1.3 */
/* * Copyright 2021 the original author or authors. * <p> * 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 * <p> * https://www.apache.org/licenses/LICENSE-2.0 * <p> * Unless required by...
package EnterRectangleWidthAndHeight; import java.awt.Rectangle; import java.util.Locale; import java.util.Scanner; public class dadosFuncionario { public static void main(String[] args) { Locale.setDefault(Locale.US); Scanner sc = new Scanner(System.in); a rect = new a(); System.out.println("Enter rectang...
package com.tencent.mm.plugin.emoji.ui.v2; import android.text.Editable; import android.text.TextWatcher; import com.tencent.mm.R; class EmojiStoreV2RewardUI$4 implements TextWatcher { final /* synthetic */ EmojiStoreV2RewardUI iqC; EmojiStoreV2RewardUI$4(EmojiStoreV2RewardUI emojiStoreV2RewardUI) { ...
package com.rudecrab.demo.entity; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import javax.validation.constraints.Email; import javax.validation.constraints.NotNull; import javax.validation.constraints.Size; /** * @author RC * @description 用户实体类 */ @...
/* * 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 may not ...
import java.io.*; import java.util.*; public class character_position { private int position; private int a; private int b; private int c; public void character_postion(){ } }
package com.gtfs.action; import java.io.Serializable; import java.util.ArrayList; import java.util.Date; import java.util.List; import javax.faces.application.FacesMessage; import javax.faces.context.FacesContext; import org.apache.log4j.Logger; import org.springframework.beans.factory.annotation.Autowired; import o...
package de.jmda.app.uml.diagram.type; import de.jmda.core.cdi.event.ActionOnEvent.AbstractEvent; import javafx.scene.layout.Pane; public interface TypeDiagramService { Pane getDiagramPane(); // void addShapesFor(Set<TypeElement> typeElements); /** * Used in CDI events to indicate that {@link TypeDiagr...
package com.stackInstance.HighChartDatabase.controller; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; import com.stackInstance.High...
package LambdaDemo; /** * The functional interface is an interface with one method. Lambda expressions * didn't work individually, they implement (define behavior) of 'abstract' * method with the return type, which defined in the functional interface. So, * lambda expression and return type of the functional inter...
package com.eres.waiter.waiter.model.singelton; import android.content.Context; import android.util.Log; import com.eres.waiter.waiter.model.ArmoredTables; import com.eres.waiter.waiter.model.DataMenu; import com.eres.waiter.waiter.model.EmptyTable; import com.eres.waiter.waiter.model.IAmTables; import com.eres.waite...
package com.example.myi; import android.support.v4.content.AsyncTaskLoader; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.net.MalformedURLException; import java.net.URL; import javax.net.ssl.HttpsURLConnection; public class Ima...
package com.example.flappobird; import android.content.Context; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.Rect; public class Ground { private Context mContext; private int mFrameWidth = GameView.sViewWidth; private int mFrameHeight = GameView.sViewHeight; ...
package javaBasics; public class ConstructorConcept { public ConstructorConcept(){ //when there are no parameters it is called default constructor System.out.println("default constructor"); // we don't need to create this default constructor - it is created automatically and is hidden } public ConstructorConc...
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.util.Collections; import java.util.HashMap; import java.util.Map; import java.util.StringTokenizer; public class MoneyChangeDynamic { private static class ChangeData { ...
package com.example.network; import java.util.Iterator; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import android.annotation.SuppressLint; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.view.View; import android.view.View.OnClickLi...
package my; import org.aspectj.lang.ProceedingJoinPoint; import org.aspectj.lang.annotation.*; import org.springframework.stereotype.Component; /** * @author liming.gong */ @Component("personLogger") @Aspect public class PersonLogger { /** * 定义切面,拦截方法 * execution( * public : 方法的修饰词(*代表所有) * ...
package mx.com.azaelmorales.yurtaapp; import android.content.Intent; import android.net.Uri; import android.support.annotation.IntegerRes; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.Menu; import android.view.MenuInflater; import android.view.MenuItem; import android....
package com.user188245.util.rsort; class ByteBitExtractor implements BitExtractor<Byte>{ @Override public int bitSize() { return 8; } @Override public boolean getSignificantBit(Byte elem, int exp) { return (((elem + -128) >>> exp) & 1) == 1; } }
package com.ljx.javaFx.utils; import it.sauronsoftware.jave.Encoder; import it.sauronsoftware.jave.MultimediaInfo; import java.io.File; /** * @author lijx * @date 2019/4/15 - 18:07 */ public class VideoUtil { private static Encoder encoder = new Encoder(); public static String getVideoTimeString(File sou...
package com.github.emailtohl.integration.core; import java.io.Serializable; import java.security.SecureRandom; import java.util.List; import java.util.Set; import javax.transaction.Transactional; import javax.validation.ConstraintViolation; import javax.validation.ConstraintViolationException; import javax....
package com.tencent.mm.g.a; public final class qp$a { public String id; public int type; }
package com.shagaba.kickstarter.rest.domain.security.account; public class ChallengeQuestion { protected String question; protected String answer; /** * @return the question */ public String getQuestion() { return question; } /** * @param question the ...
package cn.yami.wechat.demo.exception; import cn.yami.wechat.demo.entity.Result; import cn.yami.wechat.demo.enums.CodeMessage; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.stereotype.Controller; import org.springframework.validation.BindException; import org.springframework.valid...