text
stringlengths
10
2.72M
/** * */ package com.isg.iloan.controller.functions.dataEntry; import java.util.Collection; import org.zkoss.zk.ui.Component; import org.zkoss.zk.ui.util.GenericForwardComposer; import org.zkoss.zul.Checkbox; import org.zkoss.zul.Groupbox; import org.zkoss.zul.Textbox; import com.isg.iloan.commons.IDs; /** * @a...
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package com.helmidev.entities; import java.io.Serializable; import java.util.List; import javax.persistence.Column; import javax.persi...
package bis.project.controllers; import java.util.Set; import java.util.stream.Collectors; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.PathVariable; import org....
/* * Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you 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...
package com.cninnovatel.ev.contact; import java.util.ArrayList; import java.util.List; import org.apache.commons.lang3.StringUtils; import org.apache.log4j.Logger; import retrofit2.Call; import retrofit2.Callback; import retrofit2.Response; import android.annotation.TargetApi; import android.content.Context; import ...
package com.ctt.web.filter; import org.springframework.stereotype.Component; import javax.servlet.*; import javax.servlet.http.HttpServletRequest; import java.io.IOException; /** * @Description * @auther Administrator * @create 2020-03-25 上午 11:14 */ @Component public class AuthFilter implements Filter { @Ov...
package com.example.register; public class User { String name; String email; String phone; public User(String name, String email, String phone) { this.name = name; this.email = email; this.phone = phone; } static User[] users = new User[]{}; }
/* * Created Thu Dec 02 15:54:49 CST 2004 by MyEclipse Hibernate Tool. */ package com.aof.component.helpdesk; import java.io.Serializable; /** * A class that represents a row in the 'Call_Type' table. * This class may be customized as it is never re-generated * after being created. */ public class CallType ...
package ui; import java.util.Arrays; import java.util.List; import javax.swing.JOptionPane; import domain.*; public class QuizTestApp { public static void main(String[] args) { // maak een quiz met een aantal randomvragen uit de opdrachtendatabase String aantalVragen = JOptionPane.showInputDialog(null,"typ aa...
package io.swagger.server.api.verticle; import io.vertx.core.AbstractVerticle; import io.vertx.core.json.Json; import io.vertx.core.json.JsonObject; import io.vertx.core.logging.Logger; import io.vertx.core.logging.LoggerFactory; import io.swagger.server.api.model.Pet; import io.swagger.server.api.model.ModelApiRespo...
package com.flowedu.dto; import lombok.Data; /** * Created by jihoan on 2017. 8. 11.. */ @Data public class LectureStudentRelDto { // 아이디 private Long lectureRelId; // 강의 정보 아이디 private Long lectureId; // 학생 아이디 private Long studentId; // 생성일 private String createDate; p...
/* * Created by Angel Leon (@gubatron), Alden Torres (aldenml) * Copyright (c) 2011-2014, FrostWire(R). All rights reserved. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either versio...
package org.springframework.build.shadow; import java.io.File; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.Set; import org.gradle.api.DefaultTask; import org.gradle.api.artifacts.Configuration; import org.gradle.api.artifacts.component.ModuleComponentSelector; imp...
package mobi.app.redis.netty.command; import mobi.app.redis.netty.reply.Reply; import mobi.app.redis.transcoders.Transcoder; import java.util.List; import java.util.concurrent.Future; /** * User: thor * Date: 12-12-20 * Time: 上午10:18 */ public interface Command<T> { List<byte[]> getArgs(); String getName...
package com.anz.demo.dto; import lombok.Builder; import lombok.Data; import lombok.Value; import java.math.BigDecimal; import java.time.LocalDate; @Builder @Data public class Transaction { private Long accountNumber; private String accountName; private LocalDate valueDate; private Currency currency; ...
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) import java.util.*; public class Screen extends Actor implements IScreen { private int x, y; public static ArrayList<IScreen> screenTwoComponents=null; World pw =null; public Screen(int X, int Y) { this.x ...
package c01.todoteamname.project.SPORTCRED; import java.io.IOException; import org.json.JSONException; import org.json.JSONObject; import com.sun.net.httpserver.HttpExchange; import com.sun.net.httpserver.HttpHandler; public class SearchRadar implements HttpHandler { Neo4JDB nb = Neo4JDB.createInstanceOfDatabase()...
package com.example.reminiscence; import android.net.Uri; import androidx.lifecycle.LiveData; import androidx.room.Dao; import androidx.room.Delete; import androidx.room.Insert; import androidx.room.OnConflictStrategy; import androidx.room.Query; import androidx.room.Update; import java.net.URI; import java.util.Lis...
//OR Gate public class OR implements LogicOperation { public boolean logicOP(boolean A, boolean B){ return A|B; } }
package l6; import java.util.Arrays; public class AnyTypesArray { private Object[] ar; public AnyTypesArray() { ar = new Object[0]; } public void addObject(Object o) { ar = Arrays.copyOf(ar, ar.length + 1); ar[ar.length - 1] = o; } public Object getObject(int Index) { if (Index < ar.length && Index...
/* * Copyright 2002-2022 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
package com.jfronny.raut.gui; import io.github.cottonmc.cotton.gui.client.CottonInventoryScreen; import net.minecraft.entity.player.PlayerEntity; public class BackpackScreen extends CottonInventoryScreen<BackpackController> { public BackpackScreen(BackpackController container, PlayerEntity player) { super...
package shopFind.model; import org.springframework.hateoas.ResourceSupport; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonInclude.Include; /* * Class that maps ShopDetailsResponse */ @JsonInclude(Include.NON_NULL) public class ShopDetailsResponse extends ResourceS...
package utilities; import static constants.Constants.JS_AXIS_LEFT_STICK_X; import java.net.Inet4Address; import java.net.UnknownHostException; import drivetrain.DriveIO; import edu.wpi.first.wpilibj.PowerDistributionPanel; import edu.wpi.first.wpilibj.networktables.NetworkTable; public class RobotTable { //not curr...
package com.justcode.hxl.viewutil.recycleview_util.layoutmanager.chipslayoutmanager.gravity; import android.graphics.Rect; import com.justcode.hxl.viewutil.recycleview_util.layoutmanager.chipslayoutmanager.layouter.AbstractLayouter; import com.justcode.hxl.viewutil.recycleview_util.layoutmanager.chipslayoutmanager.lay...
package com.unionfind; public class Test { @org.junit.Test public void test1() { int n=10000; UnionFind_1 u = new UnionFind_1(n); long start = System.currentTimeMillis(); for(int i=0;i<n;i++) { int a= (int) (Math.random()*n); int b= (int) (Math.random()*n); u.unionElement(a, b); } for(int i=0;i...
/* * Copyright (c) 2005 Einar Pehrson <einar@pehrson.nu>. * * This file is part of * CleanSheets - a spreadsheet application for the Java platform. * * CleanSheets is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software F...
import com.spart.io.Model.Employee; import com.spart.io.Model.Regex; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; public class RegexTest { @Test public void prefix() { String[] data = {"1", "Mr3535.", "Halil", "C", "Kale", "M", "Halilcankale98@gmail.com", "7/1...
package com.cst.web.controller; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.ResponseB...
package com.itobuz.android.awesomechat.profile; import android.Manifest; import android.content.Intent; import android.content.pm.PackageManager; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.v4.app.ActivityCompat; import android.support.v4.content.ContextCompat; import an...
package org.ananas.extension.example.transform.sql; import org.ananas.runner.core.TransformerStepRunner; import org.ananas.runner.core.model.Step; import org.apache.beam.sdk.extensions.sql.SqlTransform; public class StepRunner extends TransformerStepRunner { protected StepRunner(Step step, org.ananas.runner.core....
package com.si.ha.vaadin; public abstract class PushEvent implements Runnable{ }
package lab5; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.*; class ContaIDTest { @Test void getCPF() { } @Test void getFornecedor() { } @Test void testHashCode() { } @Test void equals() { } }
import com.flipkart.dart.Batch; import com.flipkart.dart.BatchIngestor; import com.flipkart.dart.IngestionSuspendedException; import com.flipkart.dart.UploadResponse; import com.flipkart.dart.data.validation.ValidationException; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import org.apache.commons...
package edu.duke.ra.core.operator; import java.sql.SQLException; import java.util.ArrayList; import java.util.Arrays; import edu.duke.ra.core.db.DB; public class Project extends RAXNode { protected String _columns; public Project(String columns, RAXNode input) { super(new ArrayList<RAXNode>(Arrays.as...
package homework1; public interface ICommunicationPrinter { public String welcome(String name); }
package com.aiwac.constant; /** * * @author HC * @date 2017年11月14日 * */ public class EmotionConstant { public static final int ACTIVATE_CONVERSATION_THRESHOLD = -1; public static final int FACE_IMAGE_EMOTION_SOURCE = 1; public static final int VOICE_EMOTION_SOURCE = 2; public static final int TEXT_EMOTION_SOURC...
package com.micHon.adapter; public class UKToEuroAdapter implements EuroDevice { UKDevice device; public UKToEuroAdapter(UKDevice device) { this.device = device; } public void on() { device.powerOn(); } }
package com.ozeeesoftware.realestate.controller; import com.ozeeesoftware.realestate.model.Property; import com.ozeeesoftware.realestate.service.PropertyServiceImpl; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annota...
package com.mx.cdmx.cacho; @FunctionalInterface public interface FuncInterface { public abstract Integer doOperation(int i); }
package com.reagent.android.testproject; import com.reagent.android.testproject.nativelistview.GitHubRepoCommetDeatilActivity; import com.reagent.android.testproject.weblistview.GitHubRepoCommetDeatilWebViewActivity; import android.content.Context; import android.content.Intent; import android.os.Bundle; impo...
package io.github.satr.aws.lambda.bookstore.constants; // Copyright © 2020, github.com/satr, MIT License public final class IntentName { public static String SearchBookByTitle = "SearchBookByTitleIntent"; public static String SelectBook = "SelectBookIntent"; public static String ShowBookSearchResult = "Sho...
package com.openclassrooms.apisafetynet.controller; import java.net.URI; import java.sql.Date; import java.util.ArrayList; import java.util.List; import java.util.Optional; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.repository.query.Param; import org.sprin...
public class KeyIndexedCounting { public void keyIndexedCounting(int [] a) { int [] counting = new int[R + 1]; int [] aux = new int[a.length]; for (int i = 0; i < a.length; i++) { count[a[i]]++; } for (int i = 1; i < R; i++) { count[i + 1] += count[i]; } for (int i = 0; i < a.length; i++) { a...
package annotation.codegener;/** * Created by DELL on 2018/10/18. */ import java.util.function.IntBinaryOperator; /** * user is lwb **/ public class Bar { @Adapt(IntBinaryOperator.class) public static int add(int a,int b){ return a + b; } }
package interview.meituan.D; import java.util.*; public class Main { // 保存原始字符串集合 private static List<String> list = new ArrayList<>(); // 保存字符串多重集合 private static Map<String, Integer> map = new HashMap<>(); public static void main(String[] args) { Scanner sc = new Scanner(System.in); ...
package abstracto; public class Victor extends Professor{ public Victor() { this.Modulo = "M4"; Mn = 2; Edad = "36"; } @Override public void examen() { // TODO Auto-generated method stub System.out.println("Examen de M4"); } @Override public String toString() { // TODO Auto-gen...
package symapMultiAlign; import java.awt.Color; import java.awt.Component; import java.awt.Point; import java.awt.Toolkit; import java.awt.datatransfer.Clipboard; import java.awt.datatransfer.StringSelection; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.MouseAdapter; i...
package springBoot; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.validation.constraints.NotNull; import javax.validation.constraints.Size; @Entity public class MovieRatings { @Id @GeneratedValue private long id; @NotNull @Size(min=1, max=15...
package Event; import java.awt.Color; import java.awt.Graphics; import java.awt.event.KeyEvent; import Cards.Player; import Gamesetup.Game; public class PickStarters extends Event{ private int step; private int pick; private Player p1; private Player p2; private boolean finished; public PickStarters(Game game...
package com.alibaba.druid.bvt.pool; import junit.framework.TestCase; import org.junit.Assert; import com.alibaba.druid.pool.DruidDataSource; import com.alibaba.druid.util.JdbcUtils; public class TimeBetweenLogStatsMillisTest2 extends TestCase { private DruidDataSource dataSource; protected void setUp() thr...
package com.sullbrothers.crypto.mancer; import java.util.List; import com.sullbrothers.crypto.database.CurrencyValuesDAO; import com.sullbrothers.crypto.database.RateHistoryDAO; /** * MancerState */ public class MancerState { public CurrencyValuesDAO currencyValues; public RateHistoryDAO.RateHistory curre...
package com.handler; import com.model.Author; import com.service.AuthorService; import org.springframework.http.HttpStatus; import org.springframework.http.MediaType; import org.springframework.stereotype.Component; import org.springframework.web.reactive.function.server.ServerRequest; import org.springframework.web.r...
/* * Copyright (c) 2016, WSO2 Inc. (http://wso2.com) 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 re...
package com.dirmod.cotizacionrestapi; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class CotizacionRestApiApplication { public static void main(String[] args) { SpringApplication.run(CotizacionRestApiApplicati...
/* * Copyright 2018 nghiatc. * * 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 agreed to in...
/* * Copyright 2018 Mike Neilson. * * 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 o...
/* * 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...
package com.automationui.framework.pages.components; import com.automationui.framework.BasePage; import com.automationui.framework.WebLocators; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.support.ui.ExpectedConditions; public class MenuComponent extends BasePage { ...
import java.awt.BorderLayout; import java.awt.Component; import java.awt.Frame; import java.awt.event.KeyEvent; import java.awt.event.KeyListener; import java.awt.event.MouseEvent; import java.awt.event.MouseListener; import java.awt.event.MouseMotionListener; import java.awt.event.MouseWheelEvent; import java.awt.even...
/* * IntValidator * * Version: 1.0 * * 08.07.2019 * * Shamshur Aliaksandr * */ package z2.validators; public class IntValidator { //-- return true if a>0 public static boolean isNatural(int a) { return (a > 0) ? true:false; } }
package com.example.onenprofessor.utils; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import org.json.JSONObject; import android.os.Environment; import android.os.Handler; import co...
// https://leetcode.com/problems/find-k-closest-elements/solution/ // https://leetcode.com/problems/find-k-closest-elements/discuss/106426/JavaC%2B%2BPython-Binary-Search-O(log(N-K)-%2B-K) class Solution { public List<Integer> findClosestElements(int[] arr, int k, int x) { int n = arr.length; if (x <= ar...
package com.kevin.cloud.commons.platform.service.fallback; import com.kevin.cloud.commons.platform.dto.FallBackResult; /** * @program: kevin-cloud-dubbo2.0 * @description: * @author: kevin * @create: 2020-01-11 20:48 **/ public abstract class BaseFallBack implements IBaseFallBack { private static final int ...
package com.stackroute.recommend; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.cloud.netflix.eureka.EnableEurekaClient; import org.springframework.stereotype.Component; @Component @EnableEurekaClient @SpringBootApplic...
/* * Copyright © 2020-2022 ForgeRock AS (obst@forgerock.com) * * 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...
package unisinos.tradutores.antlr.main.listener; import lombok.Getter; import org.antlr.v4.runtime.tree.TerminalNodeImpl; import unisinos.tradutores.antlr.main.domain.Method; import unisinos.tradutores.antlr.main.gramatica.Java8BaseListener; import unisinos.tradutores.antlr.main.gramatica.Java8Parser; import java.ut...
/* * 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 pkcs11; import iaik.pkcs.pkcs11.Module; import iaik.pkcs.pkcs11.Session; import iaik.pkcs.pkcs11.Slot; import iaik.p...
package kr.or.ddit.global; public interface GlobalConstant { // temp에 files폴더에 파일을 저장 public String FILE_PATH = "C:\\Users\\JeaSeok\\Desktop\\Programming\\Server File\\FinalProject"; }
/** * Copyright ${license.git.copyrightYears} 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/LICEN...
package com.lovi.twr.common.model; import org.springframework.data.annotation.Id; public abstract class EntityBase{ public static final short STATUS_INACTIVE = 0; public static final short STATUS_ACTIVE = 1; public static final short STATUS_DELETED = 2; @Id private Integer id; public En...
package fr.ul.miage.m1.projetreseau; import java.io.File; import java.io.IOException; import java.net.InetAddress; import java.net.ServerSocket; import java.net.Socket; import java.util.Hashtable; public class HTTPServer extends Thread { // Répertoire racine du projet private final File root; // Objet effectuant ...
/* * work_wx * wuhen 2020/1/16. * Copyright (c) 2020 jianfengwuhen@126.com All Rights Reserved. */ package com.work.wx.controller.modle; import com.work.wx.controller.modle.subChatItem.*; import java.util.Arrays; public class ChatModel extends BaseModel { private String corpId; private Long seq; ...
/******************************************************************************* * Copyright 2014 Hyplink (solideclipse@gmail.com) * * 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 * * ...
public class MergeSortedArray { public void merge(int[] nums1, int m, int[] nums2, int n) { if (nums1.length == 0 || nums2.length == 0 ) return; int i=0,j=0,k=0; int temp = 0; int s = m+n-1; while (i < s ) { if (nums1[i]<=nums2[j]) { if ...
package com.blackbird.camel.zone; import com.blackbird.model.zone.AdConfigContext; public interface AdConfigHandler { public void handle(AdConfigContext body); }
package com.esum.wp.as2.svcinfo.struts.action; import java.security.PrivateKey; import java.util.Date; import java.util.List; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.struts.action.ActionForm; import org.apache.struts.action.ActionForward; import ...
package com.company; import ru.ifmo.se.pokemon.*; public class Main { public static void main (String[] args) { Battle b = new Battle(); b.addAlly(new Hawlucha ()); b.addAlly(new Numel()); b.addAlly(new Camerupt()); b.addFoe(new Starly()); b.addFoe(new Stravia...
package com.example.bigasslayout.bigasslayout; import android.app.Activity; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.CheckBox; import android.widget.ImageView; import android.widget.TextView; import android.wi...
import java.io.*; import java.util.*; public class Main{ public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String exp = br.readLine(); //System.out.println(exp); System.out.println(infixEval(exp)); // code } p...
package com.liyang.category.action; import com.liyang.category.entity.Category; import com.liyang.category.service.CategoryService; import com.liyang.commons.Page; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.UUID; /* *@author:李洋 *@date:2019/7/29 15:05 */ public class Ca...
package br.com.zup.kafka.util; import org.apache.commons.lang3.StringUtils; import java.util.Collection; public final class Assert { private Assert() {} public static void notNull(Object object, String message) { if (object == null) { throw new IllegalArgumentException(message); ...
package com.beike.dao.trx.partner; import com.beike.entity.partner.PartnerReqId; /** * @ClassName: PartnerReqIdDao * @Description: TODO * @author yurenli * @date 2012-7-12 下午06:41:00 * @version V1.0 */ public interface PartnerReqIdDao { /** * @param partnerNo * @param requestId * @return */ public P...
/* * Copyright © 2018 www.noark.xyz All Rights Reserved. * * 感谢您选择Noark框架,希望我们的努力能为您提供一个简单、易用、稳定的服务器端框架 ! * 除非符合Noark许可协议,否则不得使用该文件,您可以下载许可协议文件: * * http://www.noark.xyz/LICENSE * * 1.未经许可,任何公司及个人不得以任何方式或理由对本框架进行修改、使用和传播; * 2.禁止在本项目或任何子项目的基础上发展任何派生版本、修改版本或第三方版本; * 3.无论你对源代码做出任何修改和改进,版权都归Noark研发团队所有,我们保...
package com.stackroute.pe5; import java.util.HashMap; import java.util.Map; /* * Write a program where an array of strings is input and output is a Map<String,boolean> where * each different string is a key and its value is true if that string appears 2 or more times in the array. */ public class MapStrings { ...
package com.metoo.module.app.manage.buyer.tool; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; import com.metoo.foundation.domain.User; import...
package com.feng.stream; import org.junit.Test; import java.util.List; import java.util.stream.Stream; public class StreamTest2 { @Test public void test1(){ List<Employee> employees = EmployeeData.getEmployees(); Stream<Employee> stream = employees.stream(); /* stream.filter(e -> e.get...
package com.example.zeal.greendaodemo; import android.app.Application; import org.litepal.LitePal; import org.litepal.LitePalApplication; /** * Created by liaowj on 2017/4/11. */ public class App extends LitePalApplication { /** A flag to show how easily you can switch from standard SQLite to the encrypted SQ...
package cshekhar.springboot.model; import org.bson.types.ObjectId; import org.mongodb.morphia.annotations.Entity; import org.mongodb.morphia.annotations.Indexed; import org.mongodb.morphia.annotations.Property; import org.mongodb.morphia.utils.IndexDirection; import org.springframework.data.annotation.Id; /** * Crea...
package com.legaoyi.protocol.upstream.messagebody; import java.util.List; import java.util.Map; import org.springframework.context.annotation.Scope; import org.springframework.stereotype.Component; import com.fasterxml.jackson.annotation.JsonProperty; import com.legaoyi.protocol.message.MessageBody; /** * 采集记录仪状态信...
package com.dalmirdasilva.androidmessagingprotocol.device.message; import java.util.ArrayList; import java.util.List; public class DataMessage extends Message { public DataMessage() { super(Message.TYPE_DATA); } public DataMessage(Byte[] payload) { this(); this.payload = payload; } }
package com.v1_4.mydiaryapp.com; import java.util.ArrayList; import org.json.JSONArray; import org.json.JSONObject; import android.app.Dialog; import android.os.Bundle; import android.os.Handler; import android.os.Message; import android.util.Log; import android.view.Menu; import android.view.View; import android.v...
package test; public class Wrapper { private String v; @Override public String toString() { return v; } public static Wrapper of(String v) { Wrapper w = new Wrapper(); w.v = v; return w; } }
import cutter.THULACCutter; import org.apache.lucene.analysis.*; import org.apache.lucene.analysis.standard.StandardFilter; import org.apache.lucene.analysis.standard.StandardTokenizer; import token.CutterTokenizer; import token.SemanticExpandFilter; import org.apache.lucene.analysis.standard.StandardAnalyzer; import o...
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package latihanmethodprosedur; /** * * @author ARIEN */ import javax.swing.JOptionPane; public class LatihanM...
/* * Copyright 2003,2004 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ...
package sr.hakrinbank.intranet.api.repository; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.Query; import org.springframework.data.jpa.repository.Temporal; import org.springframework.data.repository.query.Param; import org.springframework.stereotype.Repos...
package cn.itcast.jdbc; import org.junit.Test; import org.springframework.context.ApplicationContext; import org.springframework.context.support.ClassPathXmlApplicationContext; import cn.itcast.c3p0.UserService; public class TestService { @Test public void testDemo(){ ApplicationContext context = new Class...
package com.training.apps; import javax.xml.ws.Response; import com.training.ifaces.BloodDonor; import com.training.ifaces.GetRequestResponse; import examples.webservices.async.DonationRequest; import examples.webservices.async.DonationRequestServiceService; public class MyClientApplication { public s...
package net.edzard.kinetic; /** * An elliptical shape. * @author Ed */ public class Ellipse extends Shape { /** Protected default Ctor keeps GWT happy */ protected Ellipse() {} /** * Retrieve this ellipse's radius. * @return The radius (x and y component) */ public final native Vector2d getRadius() /*-...