text
stringlengths
10
2.72M
package com.github.vinja.compiler; import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.io.IOException; import org.apache.commons.io.FilenameUtils; import com.github.vinja.util.VjdeUtil; public class TomcatJvmoptConf { private static StringBuffer jvmOptsBuffer = null; priv...
package manage.service.impl; import manage.bean.T_user; import manage.dao.impl.T_userDaoImpl; public class T_userServiceImpl { private T_userDaoImpl userDaoImpl=new T_userDaoImpl(); public T_user login(String username,String password){ return userDaoImpl.login(username, password); } }
package com.shangcai.entity.material; import java.math.BigDecimal; 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...
package com.paleimitations.schoolsofmagic.common.items; import com.paleimitations.schoolsofmagic.SchoolsOfMagicMod; import com.paleimitations.schoolsofmagic.common.data.capabilities.quest_data.IQuestData; import com.paleimitations.schoolsofmagic.common.data.capabilities.quest_data.QuestDataProvider; import com.paleimi...
package edu.kvcc.cis298.criminalintent; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.text.Editable; import android.text.TextWatcher;...
package webserver; import java.io.File; import java.io.IOException; public class DirectoryBrowserGenerator { public static byte[] generate(File givenDir, File defaultDir) throws IOException { String relativeDirname = ""; String parentDirname = ""; String separator = File.separator; ...
import org.junit.Before; import org.junit.Test; import static org.junit.Assert.*; import java.util.HashMap; public class StudentGroupTest { StudentGroup[] groups; @Before public void Init() { groups = new StudentGroup[3]; groups[0] = new StudentGroup(StudentGroup.SubjectName.COMPUTER_SCIE...
public class Table { private int label; private String text; public int getLabel() { return label; } public void setId(int label) { this.label = label; } public String getText() { return text; } public void setText(String text) { this.text = text; } public String toString(){ re...
/* * 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 fizzbuzz; import java.util.Arrays; /** * * @author MHerzog */ public class FizzBuzz { public static void main(Str...
package ull.patrones.estrategia; import ull.patrones.auxilares.Fecha; import ull.patrones.singleton.ColaSingleton; public class Ev_emergencia implements IEvento { private Fecha m_fecha; private final int m_idtipoevento = 0003; public Ev_emergencia() { m_fecha = new Fecha(); } @Override public...
package rs.code9.taster.repository; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; import rs.code9.taster.model.Category; /** * Category JPA access layer interface. * * @author r.zuljevic */ @Repository public interface CategoryRepository extends ...
package shop.jinwookoh.api.fundSupporter.domain; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.Table; @Entity @Table(name = "fund_supporters") public class FundSu...
package com.mes.cep.manage; /** *@author Stephen Wen *@email 872003894@qq.com *@date 2017年4月11日 *@Version *@Chinesename 结构管理 */ public class StructureManagement { }
/** * Solutii Ecommerce, Automatizare, Validare si Analiza | Seava.ro * Copyright: 2013 Nan21 Electronics SRL. All rights reserved. * Use is subject to license terms. */ package seava.ad.presenter.impl.security.qb; import seava.ad.presenter.impl.security.model.MyUser_Ds; import seava.j4e.presenter.action.query.Que...
package zomeapp.com.zomechat.utils; import android.content.Context; import android.net.Uri; import android.util.Log; import com.facebook.common.util.UriUtil; import com.facebook.drawee.drawable.ScalingUtils; import com.facebook.drawee.generic.GenericDraweeHierarchy; import com.facebook.drawee.generic.GenericDraweeHie...
package com.tencent.mm.boot.svg.a.a; import android.graphics.Canvas; import android.graphics.Paint; import android.graphics.Paint.Cap; import android.graphics.Paint.Join; import android.graphics.Paint.Style; import android.graphics.Path; import android.os.Looper; import com.tencent.mm.svg.WeChatSVGRenderC2Java; import...
package com.tencent.mm.plugin.appbrand.canvas.widget; import android.content.Context; import android.graphics.Canvas; import android.graphics.Paint; import android.graphics.PorterDuff.Mode; import android.os.HandlerThread; import android.util.AttributeSet; import android.view.SurfaceHolder; import android.view.Surface...
//import java.util.Arrays; //public class MyBigProgram { // // public static void main(String[] args) { // int[] list = {2, 9, 14, 7, 1, 0, 56, 34}; // //selectionSort(list, 0, list.length - 1); // insertionSort(list); // System.out.println(Arrays.toString(list)); // int keyIndex = binarySearch(list, 34, list.leng...
package util; import org.apache.commons.csv.CSVFormat; import org.apache.commons.csv.CSVRecord; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import shared.Instance; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.io.Reader; import java.util.ArrayLis...
/** * * Question - The Heavy Pill * Created by Yu Zheng on 10/1/2015 * */ public class Solution01 { /** * 1. First, we can take 1 pill for #1 bottle, take 2 pills from * #2 bottle ... take 20 pills from #20 bottle. * 2. Originally, the total weight of pills is (1 + 20) * 20 / 2 = 210 grams * 3. and t...
/* * 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.abeam.itap.framework.repository; import java.io.Serializable; import java.util.List; import javax.persistence.EntityManag...
package edu.umn.cs.recsys.cbf; import it.unimi.dsi.fastutil.longs.Long2DoubleMap; import org.grouplens.lenskit.vectors.MutableSparseVector; import org.lenskit.api.Result; import org.lenskit.api.ResultMap; import org.lenskit.basic.AbstractItemScorer; import org.lenskit.data.dao.UserEventDAO; import org.lenskit.data.rat...
/* * Copyright © 2016, 2018 IBM Corp. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file * except in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
package org.apache.jsp; import javax.servlet.*; import javax.servlet.http.*; import javax.servlet.jsp.*; import org.apache.struts.action.ActionErrors; public final class logon_jsp extends org.apache.jasper.runtime.HttpJspBase implements org.apache.jasper.runtime.JspSourceDependent { private static java.util.Li...
package com.liufeng.controller; import com.liufeng.common.annotation.PageQuery; import com.liufeng.common.utils.ResultModel; import com.liufeng.domian.dto.base.BaseId; import com.liufeng.domian.dto.base.BasePageQuery; import com.liufeng.domian.dto.request.ChangePassRequestDTO; import com.liufeng.domian.dto.request.Use...
package com.gzone.ecommerce.service; import java.util.List; import com.gzone.ecommerce.exceptions.DataException; import com.gzone.ecommerce.exceptions.DuplicateInstanceException; import com.gzone.ecommerce.exceptions.InstanceNotFoundException; import com.gzone.ecommerce.model.Producto; public interface Prod...
/** * * @Title: FreemarkController.java * @Package com.yqwl.controller * @Description: TODO) * @author zhoujiaxin * @date 2019年4月20日 */ package com.yqwl.controller; import java.text.SimpleDateFormat; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.annotation.Resource; impo...
package com.ys.service; import org.springframework.stereotype.Service; import java.util.Random; /** * Created by yushi on 2017/3/20. */ @Service public class ThreadServiceImpl extends Thread implements ThreadService { @Override public void run() { String tname = Thread.currentThread().getName(); ...
package a_firstexp; import java.util.Scanner; public class RemoveDuplicates { private static int count; public static void main(String[] args) { int i, temp, flag; Scanner scanner = new Scanner(System.in); System.out.println("输入数组长度 "); count = scanner.nextInt(); int[] ...
package com.tencent.mm.plugin.gallery.view; import com.tencent.mm.plugin.gallery.view.MultiGestureImageView.j; class MultiGestureImageView$j$1 implements Runnable { final /* synthetic */ MultiGestureImageView jFs; final /* synthetic */ j jFt; MultiGestureImageView$j$1(j jVar, MultiGestureImageView multiG...
package com.ddt.daoInter; import java.util.List; import com.ddt.bean.Userinfo; //import Bean.UserInfo; public interface UserDaoInter { // 增加学生信息 public void addUser(Userinfo user); // 查找全部学生信息 public List findAllUser(); //按条件id查找部分学生 // public Student findUserById(Student stu); //修改学生信息 public void updateUs...
package br.com.teste.agenda.service.command; import br.com.teste.agenda.dto.command.ContatoCommandDto; public interface IContatoCommandService { ContatoCommandDto salvar(ContatoCommandDto contato); void remover(String idContato); }
package com.tencent.mm.plugin.card.ui.view; import android.text.TextUtils; import android.view.View; import android.view.View.OnClickListener; import android.view.ViewGroup; import android.view.ViewStub; import android.widget.TextView; import com.tencent.mm.plugin.card.a$e; import com.tencent.mm.plugin.card.a.c; impor...
package com.tibco.as.io.transfer; import java.util.ArrayList; import java.util.Collection; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.TimeUnit; import java.util.logging.Level; import java.util.logging.Logger; import com.tibco.as.io.ITransfer; import...
package com.ibm.ive.tools.japt.reduction.ita; import com.ibm.ive.tools.japt.reduction.ita.MethodInvocationLocation.StackLocation; /** * @author sfoley * */ public class MethodPotentialArrayTargets implements MethodPotentialTargets { public String toString() { return "potential array targets " + P...
/** * @project : Argmagetron * @file : Player.java * @author(s) : Michael Brouchoud * @date : 18.05.2017 * * @brief : Use to manage a player * */ package server; import java.awt.*; import java.util.UUID; /** * @class Player */ class Player { private UUID uniqueId; private ...
package com.awsp8.wizardry.Arcane.Blocks; import com.awsp8.wizardry.Wizardry; import net.minecraft.inventory.IInventory; import net.minecraft.inventory.Slot; import net.minecraft.item.ItemArmor; import net.minecraft.item.ItemStack; import net.minecraft.item.ItemSword; public class ArcaneSlot extends Slot{ publ...
package org.newdawn.slick.svg; import org.newdawn.slick.geom.Shape; import org.newdawn.slick.geom.TexCoordGenerator; import org.newdawn.slick.geom.Transform; import org.newdawn.slick.geom.Vector2f; public class RadialGradientFill implements TexCoordGenerator { private Vector2f centre; private float radius; ...
package com.ltpeacock.batchemailsender.exception; /** * * @author LieutenantPeacock * */ public class MailSendingException extends Exception { private static final long serialVersionUID = 542446978477601320L; private final ErrorCode errorCode; public MailSendingException(final ErrorCode errorCode) { this(e...
package com.shopware.test.pages.base; import java.util.ArrayList; import java.util.List; import org.json.JSONObject; import com.shopware.test.utils.DataUtils; public class Customer_UI { private String firstName; private String lastName; private String email; private String password; private String salutation; ...
package chatroom.model.message; import java.util.List; public class RoomUserListMessage extends Message{ private List<String> userList; private String roomName; public RoomUserListMessage(List<String> userList, String roomName){ this.userList = userList; this.roomName = roomName; ...
package com.game.snakesAndLadder; import com.game.snakesAndLadder.Dice.CrookedDice; import com.game.snakesAndLadder.Dice.NormalDice; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertDoesNotThrow; import static org.junit.jupiter.api.Assertions.assertEquals; public class UserAcce...
package com.training.day20.compare; import java.util.Arrays; public class FirstSortArray { public static void main(String[] args) { String[] fruits = {"Bananana","Papaya","Apple","Orange","Mango"}; System.out.println("Before Sorting : "); for (String fruit:fruits) { System.out.println(fruit); } ...
package com.esc.fms.service.right.impl; import com.esc.fms.dao.UserListElementMapper; import com.esc.fms.dao.UserMapper; import com.esc.fms.dao.UserRefRoleMapper; import com.esc.fms.entity.User; import com.esc.fms.entity.UserListElement; import com.esc.fms.entity.UserRefRole; import com.esc.fms.service.right.UserRefRo...
package net.somethingnew.kawatan.flower; import android.graphics.Color; import android.graphics.drawable.GradientDrawable; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Button; import android.widget.GridView; import android...
/** * Javassonne * http://code.google.com/p/javassonne/ * * @author [Add Name Here] * @date Mar 13, 2009 * * Copyright 2009 Javassonne Team * 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 th...
package LinkRecursiveAction; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.apache.logging.log4j.Marker; import org.apache.logging.log4j.MarkerManager; import org.jsoup.Jsoup; import org.jsoup.nodes.Document; import org.jsoup.nodes.Element; import org.jsoup.select.Elemen...
package fr.lteconsulting; import fr.lteconsulting.modele.Bibliotheque; import fr.lteconsulting.modele.Chanson; import fr.lteconsulting.modele.Disque; public class Application { public static void main( String[] args ) { Bibliotheque b = new Bibliotheque(); Disque d = new Disque( "La Lune" ); d.addChanson( ne...
package Listeners; import com.example.chrisc.bestlineaward.*; import android.content.Context; import android.text.Editable; import android.text.TextWatcher; import android.widget.EditText; public class ServiceTextListener implements TextWatcher { FamilyLine line; int id; EditText edit; Double service;...
/* * 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 applicable l...
package com.legalzoom.api.test.integration.ProductsService; import org.testng.Assert; import org.testng.annotations.Test; import com.legalzoom.api.test.client.ResponseData; import com.legalzoom.api.test.dto.CreateOrderSourceIdDTO; public class CoreProductsReferencesOrderSourcesGetIT extends ProductsTest{ @Test p...
package com.tencent.mm.plugin.sns.ui; class bb$6 implements Runnable { final /* synthetic */ bb ogl; bb$6(bb bbVar) { this.ogl = bbVar; } public final void run() { 1 1 = new 1(this); if (this.ogl.nvg != null) { this.ogl.nvg.setOnDragListener(1); } } }
package SUT.SE61.Team07.Repository; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.rest.core.annotation.RepositoryRestResource; import org.springframework.web.bind.annotation.CrossOrigin; import SUT.SE61.Team07.Entity.*; @RepositoryRestResource @CrossOrigin("ht...
package com.jdroid.java.mail; public interface MailService { public void sendMail(String subject, String body, String sender, String recipient) throws MailException; }
package net.crunchdroid.api; import lombok.AllArgsConstructor; import net.crunchdroid.model.ExpiredAbonnement; import net.crunchdroid.service.ExpiredAbonnementService; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.*; import j...
package snake.parts; import snake.Tile; import snake.util.Position; import snake.util.PositionMap; public class SnakeTail implements Tile { protected Position position; public SnakeTail(Position position) { this.position = position; } @Override public Position getPosition() { ret...
/* * Copyright 2021 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ package org.skia.androidkit; public enum TileMode { /** * Replicate the edge color if the shader draws outside of its * original bounds. */ CLAMP, ...
public class NuclearBomb extends Bomb{ }
package com.legalzoom.api.test.integration.OrdersService; import com.legalzoom.api.test.client.ResponseData; import org.testng.Assert; import org.testng.annotations.Test; import com.legalzoom.api.test.dto.GetOrderDTO; import com.legalzoom.api.test.dto.OrdersDTO; import com.legalzoom.api.test.dto.OrdersOrderItemsDTO;...
package com.wincentzzz.project.template.springhack; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class SpringHackApplication { public static void main(String[] args) { SpringApplication.run(SpringHackApplicati...
package models.rules; import java.util.ArrayList; import java.util.Collections; import java.util.Map; import models.grid.Cell; import models.grid.GridModel; /** * The class that defines the rules for the segregation simulation * @author Weston * */ public class RuleSegregation extends Rule { // private static fi...
/** * Clase que representa una tabla hash con 10 elementos como máximo * * @author juansedo, LizOriana1409 */ public class TablaHash { private int[] tabla; public TablaHash() { tabla = new int[10]; } /** * @param k Nombre de la persona * @return Posición e...
package com.clay.claykey.presenter; import android.os.Bundle; import com.clay.claykey.model.LoginService; import com.clay.claykey.model.listener.ServiceFinishedListener; import com.clay.claykey.object.dto.LoginResult; import com.clay.claykey.view.fragment.LoginFragment; /** * Created by Mina Fayek on 1/15/2016. */...
package example.akka.remote.client; import akka.actor.ActorRef; import akka.actor.ActorSystem; import akka.actor.Props; import com.typesafe.config.ConfigFactory; public class Client { public static void main(String[] args) { // 1. 创建Actor系统,会加载application.conf文件 ActorSystem system = ActorSystem.create("AkkaRemot...
package edu.ssafy.root.qna; import java.io.Serializable; public class QNA implements Serializable{ private int seq; private String mid; private String category; private String title; private String question; private String answer; private String time; public QNA() { super(); } public QNA(int seq, Stri...
package com.skilldistillery.foodTruckProject; public class FoodTruck { private int id; private String name; private String food; private int rating; private int nextId = 1; public FoodTruck() { super(); this.id = nextId; nextId++; } public FoodTruck(String name, String food, int rating) { super(); ...
/*----------------------------------------------------------------------------*/ /* Copyright (c) 2018 FIRST. All Rights Reserved. */ /* Open Source Software - may be modified and shared by FRC teams. The code */ /* must be accompanied by the FIRST BSD license file in the root directory of...
package orukomm; import java.awt.Image; import java.io.IOException; import java.util.logging.Level; import java.util.logging.Logger; import javax.swing.ImageIcon; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JPanel; public class CreatedPost extends javax.swing.JFrame { private static ...
package com.cnk.travelogix.product.holiday.master.core.jalo; import com.cnk.travelogix.product.holiday.master.core.constants.HolidayproductmastercoreConstants; import de.hybris.platform.jalo.JaloSession; import de.hybris.platform.jalo.extension.ExtensionManager; import org.apache.log4j.Logger; @SuppressWarnings("PMD"...
package com.qcwp.carmanager.mvp.present; import com.qcwp.carmanager.APP; import com.qcwp.carmanager.engine.Engine; /** * Created by qyh on 2016/12/20. */ public abstract class BasePresenter { protected APP mApp=APP.getInstance(); protected Engine mEngine=mApp.getEngine(); private int count=0; ...
package tree; import com.google.common.collect.Maps; import java.util.ArrayList; import java.util.LinkedList; import java.util.List; import java.util.*; public class RightSideView { LinkedList<QNode> queue = new LinkedList<QNode>(); class QNode { int level = 0; TreeNode treeNode; pu...
package se.jaitco.queueticketapi.model; import lombok.Builder; import lombok.Value; @Value @Builder public class TicketStatus { long numbersBefore; long estimatedWaitTime; }
package com.javano1.StudentJobMS.api; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.ResponseBody; import org.springframework.web.b...
package com.github.sergeyskotarenko.contacts.api.service; import com.github.sergeyskotarenko.contacts.api.dto.ContactDto; import com.github.sergeyskotarenko.contacts.api.dto.ContactsResponseDto; import com.github.sergeyskotarenko.contacts.api.repository.ContactsRepository; import lombok.extern.log4j.Log4j2; import org...
package com.example.controller; import com.example.entity.NhanVien; import com.example.service.NhanVienService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.ui.ModelMap; import org.springframework.web.bind.annotation.GetMapp...
package br.com.opensig.fiscal.server.sped.blocoC; import br.com.opensig.fiscal.server.sped.Bean; public class DadosC110 extends Bean { private String cod_inf; private String txt_compl; public DadosC110() { reg = "C110"; } public String getCod_inf() { return cod_inf; } p...
public class Person{ private String Modulus; private String Exponent; private String P; private String Q; private String DP; private String DQ; private String InverseQ; private String D; public Person() { } public Person(String Modulus, String Exponent, String P, String Q, String DP, Strin...
/* Copyright (c) 2017 FIRST. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted (subject to the limitations in the disclaimer below) provided that * the following conditions are met: * * Redistributions of source code must retain the abo...
package communication.packets.request.admin; import communication.enums.PacketType; import communication.packets.AuthenticatedRequestPacket; import communication.packets.Packet; import communication.packets.response.admin.GetAllAttendeesResponsePacket; import communication.wrapper.Connection; import main.Conference; ...
/* * Name: James Horton * Date: 12/11/2018 * Assignment: Final Project * File: Books.java */ package froggy.s.book.and.game.store; /** * * @author jh0375800 */ public class Books extends Product { private String author; public String getAuthor() { retur...
/* * [y] hybris Platform * * Copyright (c) 2018 SAP SE or an SAP affiliate company. All rights reserved. * * This software is the confidential and proprietary information of SAP * ("Confidential Information"). You shall not disclose such Confidential * Information and shall use it only in accordance with the ter...
package graphana.util; /** * Vertex status to hold the degree in order that it can be quickly retreived without computing and the list entry of * the corresponding DegreeList * * @param <VertexType> The type of the vertex * @author Andreas Fender */ public class DegreeStatus<VertexType> { public int degree;...
package com.test; import org.springframework.context.support.AbstractApplicationContext; import org.springframework.context.support.GenericXmlApplicationContext; public class CollectionMain { public static void main(String[] args) { AbstractApplicationContext ctx = new GenericXmlApplicationContext("cl...
package com.app.shubhamjhunjhunwala.thebakingapp; import android.appwidget.AppWidgetManager; import android.content.ComponentName; import android.content.ContentValues; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.database.Cursor; import androi...
package com.example.trent.brogains.Triceps; /** * Created by Trent on 5/10/2016. */ public class TricepCustomAdapter { }
package egg.project000; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import egg.project000.controlers.ControlerHeader; import egg.project000.controlers.DrugControler; import egg.project000.controlers.MedListControler; import egg.project000.controlers.PatientControler; import io.javalin.Javalin; public cl...
package com.zznode.opentnms.isearch.model.bo; import java.util.HashMap; import java.util.Map; public class EmsGraph { private Map<String, Zhandian> zdmap = new HashMap<String, Zhandian>(); public Map<String, Zhandian> getZdmap() { return zdmap; } public void setZdmap(Map<String, Zhandian> zdmap) { this.z...
package tech.adrianohrl.stile.control.bean.production.services; import tech.adrianohrl.stile.control.bean.Service; import tech.adrianohrl.stile.control.dao.production.PhaseDAO; import tech.adrianohrl.stile.model.production.Phase; import java.util.List; import javax.faces.bean.ManagedBean; import javax.faces.bean.Sessi...
/* * Created on 28-nov-2004 * */ package es.ucm.fdi.si.modelo; import java.awt.Graphics; /** * @author Alejandro Blanco, David Curieses Chamon, Oscar Ortega * * Proyecto Sistemas Informaticos: * * Herramienta CASE para diseño y prototipado de aplicaciones hipermedia */ public abstract class Elemento imple...
package net.optifine.entity.model; import net.minecraft.client.Minecraft; import net.minecraft.client.model.ModelBase; import net.minecraft.client.model.ModelCow; import net.minecraft.client.renderer.entity.RenderManager; import net.minecraft.client.renderer.entity.RenderMooshroom; import net.minecraft.entity.passive....
package com.rc.portal.service.impl; import java.sql.SQLException; import java.util.List; import com.rc.portal.dao.TMemberLeaderDAO; import com.rc.portal.service.TMemberLeaderManager; import com.rc.portal.vo.TMemberLeader; import com.rc.portal.vo.TMemberLeaderExample; public class TMemberLeaderManagerImpl implements...
package Menus; public class showMenus { public static void showMenuStart() { System.out.println("\n\n Options:"); System.out.println("\n\t1. Owner"); System.out.println("\t2. Client"); System.out.println("\t3. Close the system"); System.out.print("\n\tChoose an option:\n"); } public static void s...
package compilador.analisador.semantico; import java.util.Arrays; import compilador.estruturas.String; public class TSLinha { private int[] nome; // nome do simbolo private int tipo; // tipo do simbolo: int, char, string, boolean, "struct" private int categoria; // categoria do simbolo: VA...
package ru.lember.neointegrationadapter.message; import org.springframework.lang.NonNull; import org.springframework.lang.Nullable; public interface DestinationInfo { @NonNull DestinationType getDestinationType(); @Nullable String getValue(); }
/** * */ package com.shubhendu.javaworld.datastructures.mst; import java.util.Comparator; import java.util.LinkedList; import java.util.PriorityQueue; import java.util.Queue; import com.shubhendu.javaworld.datastructures.unionFind.UnionFind; /** * @author ssingh * */ public class KruskalsMST { private Queue<...
package org.tosch.neverrest.data.repositories; import org.elasticsearch.action.search.SearchResponse; import org.elasticsearch.client.Client; import org.elasticsearch.search.SearchHit; import org.springframework.data.repository.NoRepositoryBean; import org.tosch.neverrest.data.models.CoreDataEntity; import org.tosch.n...
package roberth.com.applivrus.adapters; import android.content.Context; import android.content.Intent; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.MenuInflater; import android.view.MenuItem; import android.view.View; import android.view.ViewGroup; import andro...
package services.inventory; import model.domain.*; import model.forms.GrupStocFormModel; import model.forms.InventarFormModel; import model.forms.StocFormModel; import org.springframework.stereotype.Service; import javax.servlet.http.HttpServletResponse; import java.util.List; @Service public interface InventoryServ...
package com.ligz.a; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; /** * 基础线程机制 * author:ligz */ public class ExecutorTest { public static void main(String[] args) { //Executor 管理多个异步任务的执行,而无需程序员显式地管理线程的生命周期。这里的异步是指多个任务的执行互不干扰,不需要进行同步操作 ExecutorService execu...
package com.sporsimdi.action.facade; import java.util.List; import com.sporsimdi.model.entity.Rol; import com.sporsimdi.model.type.Status; public interface RolFacade { public Rol findById(long id); public Rol findByKullanici(String kullanici); public void persist(Rol rol); public void merge(Rol rol)...