text
stringlengths
10
2.72M
//Leaf Node for Huff Tree //Code in following block was used from OpenDSA /*------------------------------------------*/ class HuffLeafNode implements HuffBaseNode{ private char element; private int weight; HuffLeafNode(char e, int w) { element = e; weight = w; } char getElement() { return e...
package LeetCode.ArraysAndStrings; public class AddBinary { public void addBinary(String a, String b) { int m = a.length(); int n = b.length(); int i = m, j = n; int carry = 0; while (i >= 0 && j >= 0) { } } public static void main(String[] args) { AddBinary a = new AddBinary()...
package kg.inai.equeuesystem.services; import kg.inai.equeuesystem.entities.Organization; import kg.inai.equeuesystem.models.OrganizationModel; import java.util.List; public interface OrganizationService { Organization create(OrganizationModel organizationModel); Organization update(OrganizationModel organiz...
/* * Launa Buche-Austin * This program will act like a 'choose your own adventure' game * March 09 2019 */ package adventure.game; import java.util.Scanner; /** * * @author labuc9806 */ public class AdventureGame { /** * @param args the command line arguments */ public st...
/************************************************************************** * Developed by Language Technologies Institute, Carnegie Mellon University * Written by Richard Wang (rcwang#cs,cmu,edu) **************************************************************************/ package com.rcwang.seal.fetch; import...
package com.sixmac.entity; import javax.persistence.*; /** * Created by Administrator on 2016/5/20 0020. */ @Entity @Table(name = "t_user_reserve_join") public class UserReserve extends BaseEntity{ @Transient private Integer status; @ManyToOne @JoinColumn(name = "user_id") private User user; ...
package kr.co.ecommerce.repository.jpa.interfaces; import org.springframework.data.jpa.repository.JpaRepository; import kr.co.ecommerce.dao.Member; public interface MemberRepository extends JpaRepository<Member, Long>, MemberRepositoryCustom { }
package com.tencent.mm.plugin.game.wepkg.model; import com.tencent.mm.plugin.game.wepkg.a.b; import com.tencent.mm.plugin.game.wepkg.model.b.2; import com.tencent.mm.plugin.game.wepkg.utils.d; import com.tencent.mm.sdk.platformtools.bi; import com.tencent.mm.sdk.platformtools.x; class b$2$1 implements Runnable { ...
package iterators; import java.util.Arrays; import java.util.Iterator; import java.util.NoSuchElementException; /** * 5.1.4. Создать convert(Iterator<Iterator>) [#152] * Реализовать класс с методом Iterator<Integer> convert(Iterator<Iterator<Integer>> it). Что из себя представляет запись Iterator<Iterator<Integer...
package fi.lassemaatta.temporaljooq.feature.company.repository; import fi.lassemaatta.temporaljooq.feature.company.dto.CompanyDto; import fi.lassemaatta.temporaljooq.feature.company.dto.PersistableCompanyDto; import java.time.Instant; import java.util.Collection; import java.util.List; import java.util.Optional; impo...
package ArraysJavaListsAutoboxingUnboxing.Arrays; public class Main { public static void main(String[] args) { int[] myVariable; myVariable = new int[9]; int[] myIntArray = new int[9]; // same as above. myIntArray[5] = 50; // array of doubles double[] myDoubleArr...
package factory.abstractfactory.ingredients.concrete; import factory.abstractfactory.ingredients.interfaces.Veggies; public class VeggiesTho implements Veggies { @Override public String getName() { return "VEGETABLES"; } }
package sss.impl; import java.time.LocalDateTime; import java.util.Arrays; import java.util.Collections; import java.util.LinkedList; import java.util.List; import org.mockito.Mockito; import org.testng.Assert; import org.testng.annotations.BeforeTest; import org.testng.annotations.DataProvider; import org.testng.ann...
package com.workorder.activity.service; import java.util.List; import java.util.Map; import org.activiti.engine.task.Task; import com.workorder.ticket.model.TaskInfo; public interface ActivityService { /** * 启动流程 * * @param bizId * 业务id */ public String startProcesses(String ...
package com.flutterwave.raveandroid.di; import android.content.Context; import android.os.Bundle; import android.test.mock.MockContext; import com.flutterwave.raveandroid.RavePayInitializer; import com.flutterwave.raveandroid.data.DeviceIdGetter; import com.flutterwave.raveandroid.rave_cache.SharedPrefsRepo; import c...
package ua.rozhkov.messager.entity; import java.io.Serializable; import java.time.LocalDate; public class Message implements Serializable{ private int id; private LocalDate date; private String content; public Message(){}; public Message(int id, LocalDate date, String content) { this.id = id; this.date =...
package modelo; import java.io.File; import java.util.List; import java.util.Properties; import javax.activation.DataHandler; import javax.activation.DataSource; import javax.activation.FileDataSource; import javax.mail.BodyPart; import javax.mail.Message; import javax.mail.Part; import javax.mail.Passwor...
package com.mes.old.meta; // Generated 2017-5-22 1:25:24 by Hibernate Tools 5.2.1.Final import java.math.BigDecimal; import java.util.Date; /** * Jobshop车间在检任务Id generated by hbm2java */ public class Jobshop车间在检任务Id implements java.io.Serializable { private String deptid; private String employeename; private St...
package com.chan.demo.service; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.chan.demo.mapper.boardMapper; import com.chan.demo.vo.boardVO; import java.util.List; @Service public class boardService { @Autowired private boardMapper bm; ...
package com.restapi.model; import java.util.Date; import java.util.List; import javax.persistence.Entity; /** * This class represents a Digital Newspaper entity * @author analia.hojman */ @Entity public class DigitalNewspaper extends Informative { /** * Default constructor used by JPA */ public DigitalNew...
package com.smxknife.energy.services.user.core.service; import com.smxknife.energy.services.user.core.dao.UserDao; import com.smxknife.energy.services.user.spi.domain.User; import com.smxknife.energy.services.user.spi.service.UserService; import org.apache.dubbo.config.annotation.DubboService; import org.springframewo...
package com.techlabs.accounttest; import com.techlabs.account.Account; public class AccountToStringTest { public static void main(String[] args) { Account a = new Account("101", "sonam", 5000); try { a.withdraw(4501); } catch (Exception e) { System.out.println(e.getMessage()); // polymorphic behaviour ...
package gr.james.influence.game; public class GameDefinition { private int actions; private double budget; private long execution; private double precision; public GameDefinition(int actions, double budget, long execution, double precision) { this.actions = actions; this.budget = b...
package cn.omsfuk.library.web.config; import cn.omsfuk.library.web.dao.UserDAO; import cn.omsfuk.library.web.util.SessionUtil; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.core.GrantedAuthority; import org.springframework.security.core.authority.AuthorityUtils; imp...
/* * 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 ...
package com.jk.jkproject.ui.inter; import com.jk.jkproject.ui.entity.LiveChestInfo; public interface LiveChestGiftAnimListener extends LiveRelease { void addTimes(LiveChestInfo paramLiveChestInfo); String getAnimate(); boolean isRunning(); void setLiveGiftActionListener(LiveGiftActionListener paramLi...
package p2.control; import java.util.*; import p2.logic.game.*; /** Class "Controller": * * Controls the execution of the game. * Receives the commands from the user and executes the corresponding actions, calls for the updates of the board and prints the game. * * */ public class Controller {...
package com.shagaba.kickstarter.auth.core.repository.security.account; import org.junit.Assert; import org.junit.Test; import com.shagaba.kickstarter.auth.core.domain.security.account.UserAccount; import com.shagaba.kickstarter.auth.core.repository.AbstractRepositoryTest; public class UserAccountRepositoryTe...
package com.example.disastermanagement.Files; public class Resource { String amount ,description,item,name,lat,lon,phone,area,datetime; public Resource(String amount, String description, String item, String name, String lat, String lon, String phone, String area,String datetime) { this.amount = amoun...
/********************************************************************************************** * Distributed computing spring 2014 group 4 //Alex Ryder//Nick Champagne//Hue Moua// * //Daniel Gedge//Corey Jones// * Project 2 Peer2Peer client/server *******************...
package NiuKe; import java.util.Scanner; public class a { public static void main(String[] args) { Scanner in = new Scanner(System.in); while(in.hasNext()){ String s = in.nextLine(); int legth = s.length(); if (legth>20||legth==0) { System.out.println("ERROR!"); } else { ...
package rhtn_homework; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.StringTokenizer; public class BOJ_4256_트리 { private static int T,N; private static int[] pre, in; public static void main(String[] args) throws IOException{ // TODO Auto-generat...
package com.example.pangrett.astroweather.data; import org.json.JSONObject; public class Condition implements JSONPopulator { private String code; private String temperature; private String description; private String date; @Override public void populate(JSONObject data) { ...
package com.andhikapanjiprasetyo.caltyfarm; import androidx.appcompat.app.AlertDialog; import androidx.appcompat.app.AppCompatActivity; import androidx.appcompat.widget.Toolbar; import android.app.ProgressDialog; import android.content.DialogInterface; import android.content.Intent; import android.os.AsyncTask; impor...
package pixel.bus.model; import pixel.bus.model.enu.GameSpeedEnum; /** * Created by vanley on 15/06/2017. */ public class GameData { private CityLevel cityLevel; private GameSpeedEnum gameSpeed = GameSpeedEnum.NORMAL; private int tick = 0; public GameData(CityLevel cityLevel) { this.cityLev...
package com.s24.redjob.worker; import java.util.Set; import com.s24.redjob.Dao; /** * DAO for worker stats. */ public interface WorkerDao extends Dao { /** * Ping Redis. */ void ping(); /** * Update worker state. * * @param name * Name of worker. * @param state *...
package com.icleveret.recipes.controller; import com.icleveret.recipes.component.SessionHolder; import com.icleveret.recipes.service.ImageService; import com.icleveret.recipes.viewmodel.RecipeView; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.hibernate.SessionFactory; ...
package com.shopify.api.lotte.delivery; import lombok.Data; /** * @author SOLUGATE * 롯데 택배 API 연동 DATA */ @Data public class LotteInvnoData { private long invNo; //운송장번호 private String masterCode; // master code - 롯데에는 "ordNo" 로 전송됨 - 주문번호 }
package com.tfxk.framework.receiver; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.net.ConnectivityManager; import android.net.NetworkInfo; import com.tfxk.framework.R; import com.tfxk.framework.utils.CommonUtils; import com.tfxk.framework.util...
package com.fancy.ownparking.ui.base.callbacks; public interface SelectItemCallback<T> { void onItemSelected(T item); }
package com.company.Arrays; import javax.swing.*; import java.util.Arrays; public class ArraysEx3 { public static void main(String[] args) { String numberInString = JOptionPane.showInputDialog("Podaj liczbę:"); int numberFromUser = Integer.valueOf(numberInString); // System.out.println(A...
package ninja.littleed.util; import info.clearthought.layout.TableLayout; import java.awt.Toolkit; import java.awt.datatransfer.Clipboard; import java.awt.datatransfer.ClipboardOwner; import java.awt.datatransfer.Transferable; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import...
package com.example.firenotes; import androidx.appcompat.app.ActionBar; import androidx.appcompat.app.AlertDialog; import androidx.appcompat.app.AppCompatActivity; import androidx.recyclerview.widget.RecyclerView; import android.app.Dialog; import android.content.ClipData; import android.content.ClipboardManager; imp...
package com.tencent.mm.plugin.remittance.bankcard.ui; import android.widget.Toast; import com.tencent.mm.ab.l; import com.tencent.mm.plugin.remittance.bankcard.a.h; import com.tencent.mm.sdk.platformtools.bi; import com.tencent.mm.sdk.platformtools.x; import com.tencent.mm.wallet_core.c.h$a; class BankRemitSelectBank...
package interviewbit.string; import java.util.ArrayList; public class Zigzag_String { public String convert(String a, int b) { if(b==1||b==0){ return a; } StringBuilder r = new StringBuilder(); ArrayList<StringBuilder> s = new ArrayList<StringBuilder>(); for (int i = 0; i < b; i++) { s.add(new String...
/* Marlin Jayasekera - 40033721 * COMP 249 * Assignment 1 * February 1st, 2017 */ /** * Driver class, calls play() method to play Battleship * * @author Marlin Jayasekera * */ public class Battleship extends Tools{ public static void main(String[] args) { play(); } }
/** * Created by user on 03/05/2017. */ public interface Collidable { /** *get the borders of the Collidable. * @return this rectangle. */ Rectangle getCollisionRectangle(); /** * changing the velocity according to the hit. * @param hitter the hitting ball. * @par...
package pers.pbyang.servlet; import java.io.IOException; import java.io.PrintWriter; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import pers.pbyang.connection.DAOFactory; import pers.pbyang.e...
/** * OpenKM, Open Document Management System (http://www.openkm.com) * Copyright (c) 2006-2015 Paco Avila & Josep Llort * * No bytes were intentionally harmed during the development of this application. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Ge...
package ThreadPool; import java.util.concurrent.*; public class 线程池重要参数 { /* 随着业务增长,线程池是怎么变化的? (1)corePoolSize常驻核心线程代表一开始就提供这么多线程执行任务 (2)后面再来的任务被放在阻塞队列(BlockingQueue)中,等前面的任务执行完之后才能运行 (3)如果又来了任务,但是这时候阻塞队列都已经满了,那此时会去扩增池子里的线程数,达到maxinumPoolSize, 此时阻塞队列的任务会先进去 (4)线...
package cpracticeC; public class a2 { public static void main(String[] args) { // 배열 생성 String[] cities = { "서울", "부산", "인천", "대전", "대구" }; int[] visitors = { 599, 51, 46, 43, 27 }; for(int i = 0; i < cities.length; i++) { /* 3. 결과를 출력 하시오. */ System.out.printf("%s: %d 명\n", cities[i], visitors[i]);...
public class TestLoops { public static void main(String args[]) { int [] numbers = {10, 20, 30, 40, 50}; for(int x : numbers ) { System.out.print( x ); System.out.print(","); } System.out.print("\n"); String [] names = {"James", "Larry", "Tom", "Lacy...
package com.sysh.util; /** * 中文转码 * Created by sjy Cotter on 2018/7/22. */ public class UnicodeUtil { public static String unicodetoString(String unicode){ if(unicode==null||"".equals(unicode)){ return null; } StringBuilder sb = new StringBuilder(); int i = -1; ...
package com.funlib.file; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.util.Date; import android.content.Context; import android.os.Environment; import android.text.TextUtils; /** * 文件操作类 * * ...
package com.tencent.mm.plugin.webview.ui.tools.jsapi; import android.net.Uri; import android.os.Bundle; import android.os.Looper; import android.os.Message; import android.os.RemoteException; import android.webkit.JavascriptInterface; import android.webkit.ValueCallback; import com.tencent.mm.a.m; import com.tencent.m...
/* * 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 comparaison; import java.util.Scanner; /** * * @author 80010-92-01 */ public class Comparaison { /** * @param args...
package SwordOffer; import Tree.TreeNode; import Tree.bianliTreeWith3order; import java.util.LinkedList; import java.util.Queue; /** * @author renyujie518 * @version 1.0.0 * @ClassName serializeTree_37.java * @Description * 分别用来序列化和反序列化二叉树。 * 序列化二叉树 * * * * * * 题目描述: * * * 请实现两个函数,分别用于序列化和反序列化二叉树。 * ...
package com.tencent.mm.protocal.c; import f.a.a.c.a; import java.util.LinkedList; public final class bg extends bhd { public String bssid; public String egF; public int rbC; public bf rbD; public bi rbE; public int rbF; public int rbG; public int rbH; public String rbn; public ...
package iplAnalysis; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; import java.util.ArrayList; public class StopWord { public static void main(String[] args) throws IOException { ArrayList<String> stopwords = new Ar...
package cache.inmemorycache.server.commands; import com.google.inject.Inject; import cache.inmemorycache.CacheResponse; import cache.inmemorycache.server.internal.datastore.IDataStore; public class DeleteCommand extends BaseCommand { private static final String INVALID_NUMBER_OF_ARGUMENTS = "Invalid number of ar...
package leetcode; // 输入:grid = [[1,2,2],[2,3,2]], r0 = 0, c0 = 1, color = 3 //输出:[[1, 3, 3], [2, 3, 3]] // [[1,2,1],[1,2,2],[2,2,1]] //1 //1 //2 // [[1,2,1,2,1,2],[2,2,2,2,1,2],[1,2,2,2,1,2]] //1 //3 //1 // [[2,1,3,2,1,1,2],[1,2,3,1,2,1,2],[1,2,1,2,2,2,2],[2,1,2,2,2,2,2],[2,3,3,3,2,1,2]] //4 //4 //3...
package com.tencent.mm.g.a; import com.tencent.mm.sdk.b.b; public final class ig extends b { public a bRH; public ig() { this((byte) 0); } private ig(byte b) { this.bRH = new a(); this.sFm = false; this.bJX = null; } }
package life; public class LiveNeigboursNumber { private final int liveNeigbours; public LiveNeigboursNumber(int liveNeigbours) { this.liveNeigbours = liveNeigbours; } public int getValue() { return liveNeigbours; } }
package com.tencent.mm.plugin.account.ui; import android.content.DialogInterface; import android.content.DialogInterface.OnClickListener; import com.tencent.mm.plugin.account.ui.RegByMobileVoiceVerifyUI.3; class RegByMobileVoiceVerifyUI$3$2 implements OnClickListener { final /* synthetic */ 3 eVP; RegByMobil...
package com.ybg.quartz.schedule.dao; import java.util.List; import com.ybg.base.util.Page; import com.ybg.quartz.schedule.domain.ScheduleJobEntity; import com.ybg.quartz.schedule.qvo.ScheduleJobQvo; /** 定时任务 * * @author chenshun * @email sunlightcs@gmail.com * @date 2016年12月1日 下午10:29:57 */ public interface Sched...
package com.example.ryanbrummet.newaudiosense2.AudioSense.Survey.Content; import com.example.ryanbrummet.newaudiosense2.AudiologyBaseSurveyCode.AbstractSingleSelectionContent; /** * Created by ryanbrummet on 8/25/15. */ public class GHABPComponentContent extends AbstractSingleSelectionContent { private final ...
//import peip.Server; //import de la classe Server du package peip import java.io.*; import java.util.*; import java.text.* ; import java.nio.file.*; public class ServeurHTTP extends Server { public ServeurHTTP(int port, boolean verbose) throws IOException { super(port, verbose) ; } public static void main(Strin...
package org.timer.controller; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RestController; import org.springframework.web.client.RestTemplate; /** * @Description * * 同时打开eureka-server eureka-c...
package Leetcode; import java.util.HashMap; import java.util.Stack; /** * 给定一个只包括 '(',')','{','}','[',']' 的字符串,判断字符串是否有效。 * @author AD * */ public class IsValid { //栈 public boolean isValid(String s) { Stack<Character> stack = new Stack<>(); for (int i = 0; i < s.length(); i++) { i...
package interfaz; import java.awt.Color; import java.awt.Font; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.KeyAdapter; import java.awt.event.KeyEvent; import javax.swing.ImageIcon; import javax.swing.JButton; import javax.swing.JDialog; import javax.swing.JFrame; imp...
package com.goldgov.dygl.module.partymemberSh.service.impl; import java.util.Date; 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.goldgov.dygl.ShCon...
// Generated from src/Cypher.g4 by ANTLR 4.6 import org.antlr.v4.runtime.ParserRuleContext; import org.antlr.v4.runtime.tree.ErrorNode; import org.antlr.v4.runtime.tree.TerminalNode; /** * This class provides an empty implementation of {@link CypherListener}, * which can be extended to create a listener which only ...
package com.mx.profuturo.bolsa.model.service.dto; public class ImagenGaleriaDTO { private int orden; private String imagen; public int getOrden() { return orden; } public void setOrden(int orden) { this.orden = orden; } public String getImagen() { return imagen;...
public class Palindrome { // Constraints: no extra buffer public boolean isPalindrome(String str) { if(str==null || str.length()==0 || str.length()==1) return true; int len = str.length(); int begin = 0; int end = len - 1; while(begin<end) { if(str.charAt(begin++)==str.charAt(en...
/** * OpenKM, Open Document Management System (http://www.openkm.com) * Copyright (c) 2006-2015 Paco Avila & Josep Llort * * No bytes were intentionally harmed during the development of this application. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GN...
package com.shangcai.entity.common; import java.util.Date; import com.irille.core.repository.orm.Column; import com.irille.core.repository.orm.ColumnBuilder; import com.irille.core.repository.orm.ColumnFactory; import com.irille.core.repository.orm.ColumnTemplate; import com.irille.core.repository.orm.Entity;...
package com.worker.framework.python; import java.util.List; import com.worker.shared.WorkMessage; public class PythonResponse { enum Command { ACK, ERROR } private Command command; private String msg; private List<WorkMessage> triggeredTasks; public Command getCommand() { ...
package net.suntrans.haipopeiwang; import android.annotation.SuppressLint; import android.os.Bundle; import android.os.Handler; import android.os.Message; import android.support.design.widget.TabLayout; import android.widget.ImageView; import android.widget.TableLayout; import com.bumptech.glide.Glide; import net.su...
package com.lubarov.daniel.wedding; import com.lubarov.daniel.data.option.Option; import com.lubarov.daniel.web.html.AnchorBuilder; import com.lubarov.daniel.web.html.Element; import com.lubarov.daniel.web.html.ParagraphBuilder; import com.lubarov.daniel.web.http.HttpRequest; import com.lubarov.daniel.web.http.HttpRes...
package com.hp.action; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import net.sf.json.JSONObject; ...
package rhtn_homework; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.List; import java.util.StringTokenizer; public class BOJ_19237_어른상어 { private static StringBuilder s...
package com.tencent.mm.plugin.appbrand.jsapi; import com.tencent.mm.plugin.appbrand.l; import com.tencent.mm.plugin.appbrand.r.a.a; import com.tencent.mm.plugin.appbrand.r.a.c; import java.util.HashMap; import java.util.Map; import org.json.JSONObject; public final class z extends n { public static final int CTRL...
package org.pmedv.core.components; import java.util.ArrayList; import java.util.EmptyStackException; import java.util.List; import java.util.Stack; /** * The <code>ClipBoard</code> simply extends the {@link Stack} class and adds a mode to it. Thus the * stack can be used as a clipboard with cut and copy fu...
package main.java.com.java4beginners.ex1; import java.lang.Math; public class Circunferencia extends Figura { private double radio = 0D; // Puedo usar la librería de java o definir una constante con el valor de PI. // Esta comentado el codigo porque uso la lib de java. //private final double PI = 3.1...
package com.noteshare.mood.services; import java.util.List; import javax.servlet.http.HttpSession; import com.noteshare.common.model.Page; import com.noteshare.mood.model.Mood; public interface MoodService { /** * @Title: selectNewestMoods * @Description: 查询最新的心情列表 * @return List<Mood> * @author xingchen ...
package GUI.windows; import java.awt.BorderLayout; import java.awt.Component; import java.awt.Dimension; import java.awt.FlowLayout; import javax.swing.BoxLayout; import java.awt.event.*; import javax.swing.ImageIcon; import javax.swing.JButton; import javax.swing.JComboBox; import javax.swing.JFormattedTextField;...
/* * 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 ...
package com.tencent.mm.plugin.appbrand.jsapi; import com.tencent.mm.pluginsdk.model.app.g.a; class JsApiLaunchApplication$a implements a { volatile boolean bSi; volatile boolean dJP; volatile boolean fGh; volatile boolean fGi; a fGj; JsApiLaunchApplication$a(a aVar) { this.fGj = aVar;...
public class Exame{ private String name; private String code; private String obs; private String duration; private String timeResult; Exame(String name, String code, String obs, String duration, String timeR){ setCode(code); setName(name); setObs(obs); setDuration(duration); setEstResult(timeR); ...
/* * Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
package cn.com.ykse.santa.service.vo; /** * Created by youyi on 2016/2/12. */ public class PrjDemandCfgVO { private Integer prjId; private Integer demandId; public Integer getDemandId() { return demandId; } public void setDemandId(Integer demandId) { this.demandId = demandId; ...
package com.company.ch02_stack_and_queue; public class LoopQueue<E> implements Queue<E> { private E queue[]; private int front; private int tail; private int size; public LoopQueue(int Capacity) { queue = (E[]) new Object[Capacity + 1]; front = 0; tail = 0; size = 0...
package com.beiyelin.projectportal.service; import com.beiyelin.common.reqbody.PageReq; import com.beiyelin.common.resbody.PageResp; import com.beiyelin.commonsql.jpa.MasterDataCRUDService; import com.beiyelin.projectportal.bean.OperationPeriodQuery; import com.beiyelin.projectportal.bean.ProjectQuery; import com.beiy...
package sample.controller; import javafx.event.ActionEvent; import javafx.fxml.FXML; import javafx.fxml.FXMLLoader; import javafx.scene.Node; import javafx.scene.Parent; import javafx.scene.Scene; import javafx.scene.control.ListView; import javafx.stage.Stage; import sample.model.Car; import sample.service...
/* * UniTime 3.4 - 3.5 (University Timetabling Application) * Copyright (C) 2012 - 2013, UniTime LLC, and individual contributors * as indicated by the @authors tag. * * 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 * ...
package com.homelinux.michele.ipconfig; import java.lang.reflect.Field; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.net.InetAddress; import java.net.UnknownHostException; import java.util.List; import android.app.PendingIntent; import android.appwidget.AppWidgetMan...
package com.github.vinja.server; import java.util.Set; import com.github.vinja.compiler.CompilerContext; import com.github.vinja.omni.ClassInfo; import com.github.vinja.omni.ClassMetaInfoManager; public class SzjdeLocateSourceCommand extends SzjdeCommand { public String execute() { String classPathXml = params.g...
/** * Helios, OpenSource Monitoring * Brought to you by the Helios Development Group * * Copyright 2014, Helios Development Group and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is free softw...
package models.dbmanager; import models.entity.Buyer; import models.util.DatabaseTool; import javax.persistence.Query; import java.util.List; /** * Created by shanmao on 15-12-16. */ public class BuyerManager { /** 插入一个刷手 */ public static boolean insert(String name,String wangwang,String mobilephone,int ...
package com.algaworks.ecommerce.model; import lombok.Data; import javax.persistence.*; import java.math.BigDecimal; import java.time.LocalDateTime; import java.util.List; @Data @Entity @Table(name = "produto", uniqueConstraints = { @UniqueConstraint(name = "uk_nome", columnNames = {"nome"}) }, indexes ...