text
stringlengths
10
2.72M
package stubs; import java.io.IOException; import org.apache.hadoop.io.DoubleWritable; import org.apache.hadoop.io.IntWritable; import org.apache.hadoop.mapreduce.Reducer; /** * Reducer's input is: (K, List<Integer>) * * Aggregate on the list of values and create a single (K,V), where V is the sum * of all values...
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; /** * IMoveheader generated by hbm2java */ public class IMoveheader implements java.io.Serializable { private String invmoveid; private Long invmovetype; private Long invmo...
package com.imesne.office.excel.write; import com.imesne.office.excel.model.ExcelRow; import java.util.List; /** * Created by liyd on 17/7/6. */ public interface ExcelSaxWriteHandler { /** * 是否创建新的sheet,第1个sheet默认创建 * 返回true时将创建新的sheet,后面的数据将写入到该sheet直到再次创建新sheet * * @param totalRowNum ...
package com.tencent.mm.plugin.card.ui; import android.widget.ImageView; import android.widget.TextView; class CardGiftReceiveUI$b { public TextView eGX; final /* synthetic */ CardGiftReceiveUI hEd; public ImageView hEf; public TextView hEg; public TextView hEh; CardGiftReceiveUI$b(CardGiftRec...
package com.project.homes.app.common.member.mapper; import java.util.Optional; import org.apache.ibatis.annotations.Mapper; import org.springframework.stereotype.Repository; import com.project.homes.app.common.member.dto.MemberDto; @Repository @Mapper public interface MemberMapper { int addMember(MemberDto membe...
import static org.junit.Assert.*; import org.junit.After; import org.junit.Before; import org.junit.Test; import java.util.*; public class NoturnosPorUltimoTest { @After public void tearDown() { System.gc(); } @Test public void exercitoEmbaralhadoPriorizaAtaqueComElfosVerdes() thro...
package com.neusoft.controller; import com.alibaba.fastjson.JSON; import com.neusoft.domain.User; import com.neusoft.domain.UserQiandao; import com.neusoft.mapper.UserMapper; import com.neusoft.mapper.UserQiandaoMapper; import com.neusoft.response.Data; import com.neusoft.response.RegRespObj; import com.neusoft.util.K...
package com.neamtu.Controllers; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.RequestMapping; /** * Created by Neamtu on 1/17/17. */ @Controller public class ViewController { @RequestMapping("/") public String index(Mod...
import java.awt.EventQueue; import javax.swing.JFrame; import javax.swing.JPanel; import java.awt.BorderLayout; import java.awt.Color; import javax.swing.JButton; import javax.swing.JTextField; import csvStuff.Spaces; import javax.swing.JLabel; import java.awt.Font; import java.awt.event.ActionListener; import java...
/** * Copyright 2007 Jens Dietrich 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 writin...
package production.entity; import java.io.Serializable; import javax.persistence.Column; import javax.persistence.Embeddable; import javax.persistence.Id; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bin...
/** Program: NFL Draft Simulator 10 * File: NFLDraftSimulator10.java * Summary: Final Project: NFL Draft Application * Author: Richard Boyd * Date: January 28, 2018 */ package application; import javafx.application.Application; import javafx.event.ActionEvent; import javafx.event.EventHandler; import javafx.geome...
/* * @(#)GameSpace.java * * * @author Redmon56 * @version 2.0 2020/10/20 */ package Snake; import javax.swing.*; import javax.swing.border.EtchedBorder; import java.awt.*; import java.awt.event.*; public class GameSpace extends JFrame implements Runnable { static int SQUARE_SIDE = 22;//Number of...
/* * Sonar PHP Plugin * Copyright (C) 2010 Sonar PHP Plugin * dev@sonar.codehaus.org * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 3 of the License, or (at yo...
package com.ecommerce.aggregates; public enum InvoiceStatus { PAID, PAYMENT_REVERSED }
package com.example.m27607_app; import android.annotation.SuppressLint; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Canvas; import android.graphics.Paint; import android.graphics.Rect; import android.util.AttributeSet; import android.util.Log; import android.view.Moti...
package com.test.jbehave.steps; import com.test.jbehave.pages.PcGarageCartPage; import com.test.jbehave.pages.PcGarageHomePage; import com.test.jbehave.pages.PcGarageProductPage; import com.test.jbehave.pages.PcGarageSearchResultsPage; import com.test.jbehave.utils.Base; import org.jbehave.core.annotations.Given; impo...
/* * 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 uk.ac.dundee.computing.aec.instagrim.servlets; import com.datastax.driver.core.Cluster; import java.io.IOException; import ja...
package com.chrissierigk.androidbinaryio; import java.io.DataInputStream; import java.io.IOException; import java.io.InputStream; import java.nio.ByteBuffer; import java.nio.ByteOrder; import java.nio.FloatBuffer; import java.nio.ShortBuffer; import java.util.ArrayList; import java.util.HashMap; import java.util.Itera...
package handlers; import java.io.IOException; import java.util.ArrayList; import org.eclipse.core.commands.AbstractHandler; import org.eclipse.core.commands.ExecutionEvent; import org.eclipse.core.commands.ExecutionException; import org.eclipse.core.resources.IProject; import org.eclipse.jdt.core.ElementChangedEvent;...
package com.liveproject.commerce.ecommerce; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; import org.springframework.web.servlet.ModelAndView; import java.util.ArrayList; import java.util.List; import java.util.Map; @RestController publi...
package com.alex.gitbrancher.validator; public enum ValidatorStep { PRE_CREATE, POST_CREATE }
package kh.cocoa.dto; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; import java.sql.Date; @Data @NoArgsConstructor public class EmployeeDTO{ private int code; private String name; private String password; private String phone; private String office_phone; private ...
package com.tb24.fn.event; import com.tb24.fn.model.CalendarTimelineResponse; public class CalendarDataLoadedEvent { private final CalendarTimelineResponse.ClientEventState calendarData; public CalendarDataLoadedEvent(CalendarTimelineResponse.ClientEventState calendarData) { this.calendarData = calendarData; } ...
package me.lehrner.spotifystreamer; import android.animation.Animator; import android.animation.AnimatorListenerAdapter; import android.annotation.SuppressLint; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.provider.SearchRecentSuggestions; import android.suppo...
package again_again; import java.util.*; public class Class28_RandomPassword { public static void main (String [] args ) { String source = "ABCDEFGHIJKLMOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789!@#$%^&*()-+="; Random random = new Random(); String password = ""; for(int i= 1; i ...
package com.yaschchuk.dev.birthdaybook.event; import android.content.Context; import android.content.Intent; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentStatePagerAdapter; import android.support.v4.view.ViewPager; import android.support.v...
package com.advpro2.basone.kongmalaew; import android.content.Intent; import android.os.Bundle; import android.support.v4.app.Fragment; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.AdapterView; import android.widget.ListVie...
import java.util.Scanner; public class TestArray08 { public static void main(String[] args) { /*删除指定位置的元素,*/ int[] arr = {12,235,35,56,3,234,10}; int[] arrNew = new int[6]; Scanner sc = new Scanner(System.in); System.out.println("请输入要删除元素的索引位置:"); int arrayLocation = sc.nextInt();s for(int i =...
import java.awt.Color; import java.awt.EventQueue; import java.awt.Font; import java.awt.SystemColor; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.ArrayList; import java.util.HashMap; import javax.swing.DefaultListModel; import javax.swing.JButton; import javax.swing.JCheck...
package net.ruixin.controller; import net.ruixin.feignServer.ServicerService; import net.ruixin.util.assignClass.ServiceClass; import net.ruixin.util.assignClass.ServiceOperate; import net.ruixin.util.assignClass.ServiceOperateType; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.be...
package org.alienideology.jcord.handle.modifiers; import org.json.JSONObject; import java.util.Objects; import java.util.function.Consumer; import java.util.function.Supplier; /** * Attribute - An updatable field of an {@link IModifier}. * * @author AlienIdeology * @param <M> The modifier this attribute belongs ...
package com.fleet.javafx.view; import de.felixroske.jfxsupport.AbstractFxmlView; import de.felixroske.jfxsupport.FXMLView; @FXMLView(value = "/fxml/demo.fxml") public class DemoView extends AbstractFxmlView { }
package com.airtel.online.cash.card.vo; public class UserVo { private String requestId; private String requestedAmount; private String payerNumber; private String requestStatus; private String receivedAmount; public String getRequestId() { return requestId; } public void setReque...
package Ibook.Review.demo.service.impl; import Ibook.Review.demo.entity.Book; import Ibook.Review.demo.entity.Categories; import Ibook.Review.demo.repository.BookRepository; import Ibook.Review.demo.repository.CategoriesRepository; import Ibook.Review.demo.service.CategoriesService; import org.springframework.beans.fa...
// 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 writing, software // distribute...
package org.icabanas.jee.api.integracion.dao.impl; import org.icabanas.jee.api.integracion.entidad.Persona; public class PersonaDaoImpl extends GenericDao<Long, Persona> { public PersonaDaoImpl() { super(); // TODO Auto-generated constructor stub } }
package learn.calorietracker.controllers; import com.fasterxml.jackson.databind.ObjectMapper; import learn.calorietracker.domain.LogEntryResult; import learn.calorietracker.domain.LogEntryService; import learn.calorietracker.models.LogEntry; import learn.calorietracker.models.LogEntryType; import org.junit.jupiter.api...
package Test; import junit.framework.Assert; import org.junit.Test; import org.springframework.context.ApplicationContext; import org.springframework.context.support.ClassPathXmlApplicationContext; import com.stu.usersAction.baseAction; import com.stu.usersInter.usersDao; import com.stu.userserviceImp.userserviceImp...
import java.io.IOException; import java.util.Scanner; public class Main { public static void main(String[] args) throws IOException { Scanner sc = new Scanner(System.in); double r = sc.nextDouble(); r *= r; double a = 3.14159 * r; System.out.printf("A=%.4f%n", a); } }
package de.jmda9.core.mproc.model; import de.jmda9.core.mproc.model.jaxb.JavaModelConfig; public class JavaModelAvailableData { private JavaModel javaModel; private JavaModelConfig javaModelConfig; public JavaModelAvailableData(JavaModel javaModel, JavaModelConfig javaModelConfig) { this.javaM...
package guru.springframework.reposervices; import java.util.ArrayList; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Profile; import org.springframework.stereotype.Service; import guru.springframework.domain.User; import guru.sprin...
package com.ponthaitay.architecturecomponentsandroid2017.livedata; import android.Manifest; import android.annotation.SuppressLint; import android.arch.lifecycle.Observer; import android.location.Location; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.design.widget.Snackb...
public abstract class Point { /*int x; //конструктор по умолчанию public Point() { x = 0; } //конструктор со значениями public Point(int x){ this.x = x; } //метод, выводящий координаты точки на экран void coutCoordinates(){ System.out.println("Point's coordinates: x ...
package com.tech.blog.dao; import com.tech.blog.entities.Category; import com.tech.blog.entities.Post; import java.sql.*; import java.util.ArrayList; public class PostDao { Connection con; public PostDao(Connection con) { this.con = con; } public ArrayList<Category> getCategories...
package org.dkni.experimental.service; import org.dkni.experimental.dao.CountryDao; import org.dkni.experimental.domain.Country; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import javax.transaction.Transactional; import java.util.List; /** * Created ...
package org.beyene.zmq; import org.beyene.zmq.message.Dto; import org.zeromq.ZContext; import org.zeromq.ZFrame; import org.zeromq.ZMQ; import org.zeromq.ZMQ.Poller; import org.zeromq.ZMQ.Socket; import org.zeromq.ZMsg; import javax.annotation.PostConstruct; import javax.annotation.PreDestroy; import java.util.concur...
package com.github.emailtohl.integration.web.service.systemInfo; import java.io.Serializable; import java.lang.management.ManagementFactory; import java.lang.management.OperatingSystemMXBean; import java.lang.reflect.Method; import java.lang.reflect.Modifier; import java.util.HashMap; import java.util.Map; ...
package com.example.gheorghe.notificationservice2; import android.app.AlarmManager; import android.app.PendingIntent; import android.content.ContentValues; import android.content.Context; import android.content.Intent; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import andro...
package com.accp.pub.pojo; import java.util.Date; public class Remind { private Integer reid; private Integer tid; private Integer uid; private String uname; private String rcenter; private Date rtime; private Date interva; private Integer count; private Integer isclose; ...
package foodchain.products; import foodchain.states.GrowingState; import foodchain.states.State; import foodchain.states.AliveState; /** * Auxiliary class for making products. */ public class FoodFactory { /** * Makes product requested by name. * @param productName - name of product to create * ...
package com.tencent.mm.ac; import com.tencent.mm.ab.b; import com.tencent.mm.ab.b.a; import com.tencent.mm.ab.e; import com.tencent.mm.ab.l; import com.tencent.mm.network.k; import com.tencent.mm.network.q; import com.tencent.mm.protocal.c.aar; import com.tencent.mm.protocal.c.aas; import com.tencent.mm.sdk.platformto...
package chap07.sec08.exam02_abstract_method; public abstract class Animal { // 1. 필드 public String kind; // 2. 생성자 // 3. 추상 메소드 public abstract void sound(); // 4. 일반 메소드 public void breathe() { System.out.println("숨을 쉽니다."); } }
package com.zilker.bean; import java.io.Serializable; public class ResponseMessage implements Serializable { private static final long serialVersionUID = 850263151479066283L; private String message; public ResponseMessage() { } public ResponseMessage(String message) { super(); ...
package com.fanbo.kai.zhihu_funny.presenter.base; import android.app.Activity; import com.fanbo.kai.zhihu_funny.model.base.ApiResponseFunc1; import com.fanbo.kai.zhihu_funny.model.base.BaseModel; import com.fanbo.kai.zhihu_funny.model.db.DbManager; import com.fanbo.kai.zhihu_funny.network.FunnyApi; import com.fanbo.k...
package com.pansy; import org.springframework.beans.factory.InitializingBean; public class AnotherExampleBean implements InitializingBean{ public void afterPropertiesSet() throws Exception { } }
package com.pawi.data; import java.util.ArrayList; import java.util.List; import com.pawi.data.enums.ExtractorName; import com.pawi.data.enums.ResultType; /** * The {@link TestCase} represents one test which is created from a content file and a HTML file. **/ public class TestCase { String testName; HtmlFile ht...
import io.restassured.http.ContentType; import org.json.simple.JSONObject; import org.testng.annotations.AfterSuite; import org.testng.annotations.BeforeSuite; import org.testng.annotations.Test; import static io.restassured.RestAssured.*; public class TC003_GET_Request { @BeforeSuite void setUp(){ Sy...
package com.danilo.nascimento.learningspring.data.repository; import com.danilo.nascimento.learningspring.data.entity.Room; import org.springframework.data.repository.CrudRepository; import org.springframework.stereotype.Repository; public interface RoomRepository extends CrudRepository<Room, Long> { }
package com.hewking.pluginlib.util; /** * @author Lody */ public class ReflectException extends RuntimeException { public ReflectException(String message, Throwable cause) { super(message, cause); } public ReflectException(Throwable cause) { super(cause); } }
package android.support.v7.widget; import android.content.Context; import android.content.res.ColorStateList; import android.graphics.PorterDuff.Mode; import android.graphics.drawable.Drawable; import android.support.v4.view.x; import android.util.AttributeSet; import android.widget.TextView; public class AppCompatTe...
package com.ibeiliao.pay.impl.dto; import java.io.Serializable; import java.util.Date; import java.math.*; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; /** * 招行开通协议用户表,记录用户开通的记录,只支持普通用户 * */ public class CmbUser implements Serializable { privat...
package day5_unary_assignment_relational_Operators; public class unaryOperator { public static void main(String[] args) { int i1=10; int i2=-100; int i3= -(i1+i2); System.out.println("i1 is "+i1); System.out.println("i2 is "+i2); System.out.println("i3 is "+i3); boolean flag=true; System.out.print...
package controlador; import java.util.List; import javax.persistence.EntityManager; import javax.persistence.EntityManagerFactory; import javax.persistence.Persistence; import javax.persistence.Query; import org.activiti.engine.delegate.DelegateExecution; import org.activiti.engine.delegate.ExecutionListener; impor...
package com.example.springsecurityjwtdemo.exceptions; public class GeneralAuthenticationException extends RuntimeException { }
package cn.edu.sdjzu.xg.bysj.service; import cn.edu.sdjzu.xg.bysj.dao.ProfTitleDao; import cn.edu.sdjzu.xg.bysj.domain.ProfTitle; import util.Condition; import util.JdbcHelper; import util.Pagination; import java.sql.Connection; import java.sql.SQLException; import java.util.Collection; public final class ProfTitle...
package com.igitras.codegen.common.next; import com.igitras.codegen.common.next.annotations.NonNls; import com.igitras.codegen.common.next.annotations.NotNull; import com.igitras.codegen.common.next.annotations.Nullable; import com.igitras.codegen.common.next.processors.CgElementProcessor; /** * Represents a file or...
package com.tencent.mm.plugin.music.a; public interface c { void AW(String str); void HT(String str); void HU(String str); void onError(String str); void onStart(String str); }
package com.tencent.mm.plugin.location.ui.impl; import android.content.DialogInterface; import android.content.DialogInterface.OnClickListener; import com.tencent.mm.plugin.location.ui.impl.h.8; class h$8$1 implements OnClickListener { final /* synthetic */ 8 kKk; h$8$1(8 8) { this.kKk = 8; } ...
/* * 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 org.mlgb.dsps.util.vo; public class MachinesStatsVO { private int machinesTotal; private int machinesRunning; public int getMachinesTotal() { return machinesTotal; } public void setMachinesTotal(int machinesTotal) { this.machinesTotal = machinesTotal; } public int ge...
package org.apache.commons.net.ftp.parser; import java.text.ParseException; import java.util.List; import org.apache.commons.net.ftp.FTPClientConfig; import org.apache.commons.net.ftp.FTPFile; public class MVSFTPEntryParser extends ConfigurableFTPFileEntryParserImpl { static final int UNKNOWN_LIST_TYPE = -1; s...
package com.tencent.mm.plugin.qqmail.b; import com.tencent.mm.a.e; import com.tencent.mm.plugin.qqmail.b.p.c; import com.tencent.mm.sdk.platformtools.bi; import com.tencent.mm.sdk.platformtools.x; import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.M...
package MavenProject.AV; import java.util.Queue; public class BinaryTree { static class Node{ int data; Node left; Node right; Node(int data){ this.data= data; left= null; right=null; } } static Node root; static void insert(Node temp, int data){ if(temp==null){ root= new Node(data); ret...
class Member { static int classVar; int instanceVar; static void setClassVar(int i) { classVar = i; // instanceVar=i; // 类方法不能访问实例变量 } static int getClassVar() { return classVar; } void setInstanceVar(int i) { classVar = i; // 实例方法不但可以访问类变量,也可以实例变量 instanceVar = i; } int getInstanceVar() { return i...
package algorithm.programmers.skillCheck.level3; public class skill_test_level3_q2_try1 { public static void main(String[] args) { } }
/* * Copyright © 2014 YAOCHEN Corporation, All Rights Reserved */ package com.yaochen.test; import org.junit.runner.RunWith; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.test.context.ContextConfiguration; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; ...
package com.rbezzi.buildit; import org.jsoup.HttpStatusException; import org.jsoup.Jsoup; import org.jsoup.UnsupportedMimeTypeException; import org.jsoup.nodes.Document; import org.jsoup.select.Elements; import java.io.IOException; import java.net.MalformedURLException; import java.net.URL; import java.util.Optional;...
package com.ncr.agent; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.cloud.stream.annotation.EnableBinding; @SpringBootApplication @EnableBinding(AgentProcessor...
package com.example.zhubangshopingtest1.shoppingcart.utils; import android.content.Context; import android.text.TextUtils; import android.util.SparseArray; import com.example.zhubangshopingtest1.app.MyApplication; import com.example.zhubangshopingtest1.home.bean.GoodsBean; import com.example.zhubangshopingtest1.utils...
package eg.edu.guc.parkei.exceptions; public class NoRidersException extends CannotOperateException { /** * */ private static final long serialVersionUID = 1L; public NoRidersException() { super(); } public NoRidersException(String x) { super(x); } }
package com.epam.strings.text.expression.terminal; import com.epam.strings.text.expression.context.Context; public class TerminalOperationDivide implements MathOperation { @Override public void interpret(Context c) { c.pushValue((c.popValue() / c.popValue())); } }
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package lappa.smsbanking.IService.Impl; import com.douwe.generic.dao.DataAccessException; import java.util.List; import lappa.smsbanking.Entities.OffreSpeciale; import lappa.smsbanking.Entities.Personne; import lappa.sm...
package com.catnap.core.view; import com.catnap.core.context.CatnapContext; import com.catnap.core.context.HttpStatus; import com.catnap.core.exception.CatnapException; import com.catnap.core.model.DefaultMapBackedModel; import com.catnap.core.model.Model; import com.catnap.core.model.builder.DefaultModelBuilde...
package nivel1; import java.util.Scanner; public class Exercicio5 { public Exercicio5() { // TODO Auto-generated constructor stub } public static void main(String[] args) { // TODO Auto-generated method stub int num; int aux; do{ for (int i=0; i==num; i++){ System.out.println("Insir...
package org.browsexml.timesheetjob.dao.hibernate; public enum JobSortOrder { Department, Description }
package com.supconit.kqfx.web.fxzf.search.entities; import hc.base.domains.OrderPart; import java.util.Date; public class FxzfMonitor extends hc.base.domains.StringId implements hc.base.domains.Orderable{ /** * */ private static final long serialVersionUID = 1L; /** * 治超点 */ private String detectSta...
/* * 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.qfix.vms.service; import com.qfix.vms.model.Request; import java.util.List; /** * * @author M Asha Madushani */ public...
package com.tibco.as.io.cli.converters; import com.tibco.as.util.log.LogLevel; public class LogLevelConverter extends AbstractEnumConverter<LogLevel> { @Override protected LogLevel valueOf(String name) { return LogLevel.valueOf(name); } @Override protected LogLevel[] getValues() { return LogLevel.values();...
package pl.edu.agh.dronka.shop.model.ItemTypes; import pl.edu.agh.dronka.shop.model.Category; public class Books extends Item { private int nrOfPages; private boolean isHard; public Books(String name, Category category, int price, int quantity, int nrOfPages, boolean isHard){ super(name, category...
package com.zap.desafio.dto; import lombok.AllArgsConstructor; import lombok.Getter; import lombok.NoArgsConstructor; import lombok.Setter; import java.math.BigDecimal; import java.time.LocalDate; @Getter @Setter @AllArgsConstructor @NoArgsConstructor public class ImmobileDto { private BigDecimal usableAreas; ...
package com.weigs.DecoratorPattern; /** * @author weigs * @date 2017/7/4 0004 */ public class Circle implements Shape { @Override public void draw() { System.out.println("Shape:Circle"); } }
package ca.mohawk.jdw.shifty.clientapi.event.mapper; /* I, Josh Maione, 000320309 certify that this material is my original work. No other person's work has been used without due acknowledgement. I have not made my work available to anyone else. Module: client-api Developed By: Josh Maione (000320309) ...
package graphana.graphs.visualization.drawmodifiers; import graphana.model.mathobjects.DimensionD; import graphana.model.mathobjects.Position2D; import graphana.model.mathobjects.Vector2D; import java.awt.*; /** * Abstract shape to draw a vertex * * @author Andreas Fender */ public abstract class Ve...
package android.support.design.widget; import android.annotation.TargetApi; import android.content.Context; import android.graphics.drawable.Drawable; import android.support.design.a.f; import android.support.v4.view.z; import android.support.v4.widget.r; import android.support.v7.app.ActionBar.a; import android.suppo...
package br.edu.ifpb.followup.entity; import java.util.List; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.OneToMany; import javax.persistence.Transient; @Entity public class Aluno extends Usuario{ @Transient private final UserType TYPE = UserType.ALUNO; ...
package elaundry.serviceImpl; import java.sql.Date; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; im...
//package edu; import processing.core.*; import processing.data.*; class LBit{ int x; int y; int type; //---------------------Bit created from World----------------- LBit(int in_iX,int in_iY, int in_iType){ x = in_iX; y = in_iY; type = in_iType; } //---------------------Bit creat...
package com.geekparkhub.hadoop.logclean; import org.apache.hadoop.io.LongWritable; import org.apache.hadoop.io.NullWritable; import org.apache.hadoop.io.Text; import org.apache.hadoop.mapreduce.Mapper; import java.io.IOException; /** * Geek International Park | 极客国际公园 * GeekParkHub | 极客实验室 * Website | https://www...
package dao; import javax.faces.context.ExternalContext; import javax.faces.context.FacesContext; import javax.servlet.http.HttpSession; import org.hibernate.Criteria; import org.hibernate.Session; import org.hibernate.criterion.Restrictions; import models.Usuario; import util.HibernateUtil; public class UsuarioDAO...