text
stringlengths
10
2.72M
/* * This file is part of Gradoop. * * Gradoop 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 version 3 of the License, or * (at your option) any later version. * * Gradoop is distributed in th...
package com.isg.ifrend.core.service.mli; import java.util.List; public class CardServiceImpl implements CardService { @Override public List doCardMaintenance(Object cardMaintenanceModel) { // TODO Auto-generated method stub return null; } @Override public String addCardReport(Object cardModel) { // TODO...
import java.util.*; public class CoveringSegments { private static List<Integer> optimalPoints(List<Segment> segments) { //write your code here segments.sort(Comparator.comparingInt(o -> o.start)); System.out.println(segments); List<Integer> points = new ArrayList<>(); ...
package student_player; import java.util.ArrayList; import java.util.List; import boardgame.Move; import coordinates.Coord; import coordinates.Coordinates; import tablut.TablutBoardState; import tablut.TablutMove; public class MuscoviteAttacker { public static Move getOpeningMove(TablutBoardState bs) { retu...
/** * Copyright 2004 Juan Heyns. All rights reserved. Redistribution and use in * source and binary forms, with or without modification, are permitted provided * that the following conditions are met: 1. Redistributions of source code must * retain the above copyright notice, this list of conditions and the followi...
package p1; import java.awt.*; import java.awt.event.*; import javax.swing.*; public class KeyLstener extends JFrame implements KeyListener { double num1=0.0,num2=0.0,sum=0.0,sub=0.0,mult=1,div=0.0; JTextField txt1,txt2,txt3; JLabel lbl1,lbl2,lbl3,lbl4,lbl5; public KeyLstener(String a) { super(a); Container c=...
package com.example.clickplaymusic; import android.content.Intent; import android.media.MediaPlayer; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.TextView; public class MainActivity extends AppCompatActivity { // Variables to increase...
package com.yucel.library.service; import java.util.List; import com.yucel.library.model.Author; public interface AuthorService { List<Author> getAllAuthors(); void saveAuthor(Author author); Author getAuthorById(long id); void deleteAuthor(long id); }
package com.techboon.domain.enumeration; /** * The Mupan enumeration. */ public enum Mupan { MP1, MP2, MP3 }
package com.git.cloud.handler.automation.os.impl; import java.util.HashMap; import java.util.List; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.git.cloud.common.enums.RmHostType; import com.git.cloud.handler.automation.os.OpenstackCommonHandler; import com.git.cloud.handler.automatio...
package orm.integ.eao.model; public interface HasId { public String getId(); public void setId(Object id); }
package me.ninabernick.cookingapplication.Location; import android.content.Context; import android.graphics.Color; import android.os.AsyncTask; import android.os.Bundle; import android.os.Handler; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.support.design.widge...
package com.egova.eagleyes.vm; import android.app.Application; import com.egova.baselibrary.model.BaseResponse; import com.egova.baselibrary.model.Lcee; import com.egova.baselibrary.model.NameTextValue; import com.egova.eagleyes.model.respose.LogHistory; import com.egova.eagleyes.model.respose.PersonInfo; import com....
package com.flushoutsolutions.foheart.modules; import android.view.View; import android.view.ViewGroup; import android.view.ViewGroup.LayoutParams; import com.flushoutsolutions.foheart.application.FoHeart; import org.json.JSONException; import org.json.JSONObject; public class Spacer { public View viSpace; priva...
package at.fhv.teama.easyticket.server.security; import at.fhv.teama.easyticket.server.user.UserRepository; import lombok.RequiredArgsConstructor; import org.springframework.ldap.core.DirContextOperations; import org.springframework.security.core.GrantedAuthority; import org.springframework.security.core.authority.Sim...
package listeners; import handlers.Handler; import java.net.DatagramPacket; import java.net.InetAddress; public class MDBListener extends Listener { public MDBListener(InetAddress addr, int port) { super(addr, port); } @Override public void handler(DatagramPacket dataPacket) { new Th...
package Problem_1168; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String...
package top.qifansfc.study_springboot.service; import org.mybatis.spring.annotation.MapperScan; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import top.qifansfc.study_springboot.domain.User; import top.qifansfc.study_springboot.dao.UserDao; import top.qi...
package Service; import Dao.model.SaleGoods; import junit.framework.TestCase; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.test.context.ContextConfiguration; import org.springframework.test.context.junit4.SpringJUnit4C...
package fr.doranco.designpattern.bridge; public class CarteGraphique { public void dessiner(String[] triangles) { // Dessiner les triangles } }
package ch.zuehlke.fullstack.hackathon.service; import ch.zuehlke.fullstack.hackathon.model.Badge; import ch.zuehlke.fullstack.hackathon.model.Rating; import ch.zuehlke.fullstack.hackathon.model.Skill; import ch.zuehlke.fullstack.hackathon.model.Training; import org.junit.jupiter.api.BeforeEach; import org.junit.jupit...
import java.util.Scanner; public class Solution { static int minpath = Integer.MAX_VALUE; static class MyPoint { int x, y; boolean visited; public MyPoint(int x, int y) { this.x = x; this.y = y; this.visited = false; } public int ...
package View; import algorithms.search.AState; import algorithms.search.MazeState; import algorithms.search.Solution; import javafx.beans.property.SimpleStringProperty; import javafx.beans.property.StringProperty; import javafx.scene.canvas.Canvas; import javafx.scene.canvas.GraphicsContext; import javafx.scene.image....
package program.oops; import java.util.Scanner; public class Factorial { public static void main(String[] args) { Scanner s = new Scanner(System.in); System.out.println("Enter the number: "); int n= s.nextInt(); int var=1; //int fact=1; for(int i=n;i>=1;i--) { //fact= fact*i; var=var...
package ua.bellkross.client; import android.os.AsyncTask; import android.util.Log; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintWriter; import java.net.InetAddress...
package com.codingchili.instance.model.dialog; import com.codingchili.instance.model.events.Event; import com.codingchili.instance.model.events.EventType; import com.codingchili.core.listener.Request; /** * @author Robin Duda */ public class DialogEvent implements Event { private Request request; private S...
package com.lanyage.seckill.dao; import com.lanyage.seckill.entity.SuccessKilled; import org.apache.ibatis.annotations.Param; /** * Created by lanyage on 2017/11/5. */ public interface SuccessKilledDao { /** * 插入购买明细,可过滤重复,如果影响行数=1,表示更新的行数 * * @param sekillId * @param userPhone * @retu...
package de.hdm.softwarepraktikum.shared; import java.sql.Timestamp; import java.util.ArrayList; import com.google.gwt.user.client.rpc.AsyncCallback; import de.hdm.softwarepraktikum.shared.bo.Group; import de.hdm.softwarepraktikum.shared.bo.Item; import de.hdm.softwarepraktikum.shared.bo.ListItem; import de...
import org.junit.Assert; import org.junit.Test; import java.util.Dictionary; import java.util.function.BiPredicate; public class ValidadorCombinadoTest { @Test public void devePermitirCombinarVariosTiposDeValidadores() { Validador validador = new Validador(); ICustomPredicate<String, Integer,...
//------------------------------------------------------------------------------ // Copyright (c) 2012 Microsoft Corporation. All rights reserved. // // Description: See the class level JavaDoc comments. //------------------------------------------------------------------------------ package com.microsoft.live; /** ...
/* * Copyright 2002-2023 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...
import java.util.Random; import java.util.Scanner; public class 입력받아사칙연산 { public static void main(String[] args) { System.out.println("화면에 아무 숫자나 입력하세요:)" ); int userInputNumber = 0; Scanner s = new Scanner(System.in); System.out.print(">>"); userInputNumber = s.nextInt(); System.out.println("이번...
package com.mygdx.game; import com.badlogic.gdx.ScreenAdapter; public class MainMenu extends ScreenAdapter { public MainMenu() { } @Override public void render(float delta) { } @Override public void dispose() { } }
package be.steformations.tunsajan.jd.datasheet.mapper; import java.sql.ResultSet; import java.sql.SQLException; import org.springframework.jdbc.core.RowMapper; import be.steformations.java_data.timesheets.entities.Prestation; public class MapperPrestation implements RowMapper<Prestation>{ @Override p...
/* * 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 morpion; import java.awt.BorderLayout; import java.awt.Dimension; import java.awt.GridLayout; import java.awt.Toolkit; import ...
package gov.nih.mipav.model.algorithms.itk; import InsightToolkit.*; import gov.nih.mipav.model.structures.*; public class PItkImage2 { /** Contains the itk smart pointer, which will delete our image data * unless we keep it around. The only common base type is Object. */ private Object m_SmartPointer =...
package com.god.gl.vaccination.main.login; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.view.View; import android.widget.EditText; import com.god.gl.vaccination.R; import com.god.gl.vaccination.apputils.TextStringUtils; import com.god....
package dao; import java.util.ArrayList; import dto.Movie; public class MovieRepository { private ArrayList<Movie> listOfMovies = new ArrayList<Movie>(); private static MovieRepository instance = new MovieRepository(); public static MovieRepository getInstance() { return instance; } public voi...
package com.metoo.manage.admin.action; import java.io.File; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.servlet.http.HttpServletRequest; import javax.servlet.h...
package com.dong1990.test; import org.apache.commons.lang.StringUtils; public class Test_StringBuffer { public static void main(String[] args) { StringBuffer_test(); Test_gateway(); } private static void Test_gateway() { String spCode = "gateway:1-spcode:0401,gateway:2-spcode:1251...
package com.emg.projectsmanage.dao.projectsmanager; import java.util.List; import java.util.Map; import com.emg.projectsmanage.pojo.UserRoleModel; public interface UserRoleModelDao { List<UserRoleModel> query(UserRoleModel record); List<UserRoleModel> queryAll(); int queryCount(); ...
package com.english.alin.learnenglish.persistance; import android.os.AsyncTask; import android.util.Log; import com.english.alin.learnenglish.persistance.database.DatabaseConstants.CorrectAnswer; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import java.util.ArrayList; import...
/** * Copyright 2014 零志愿工作室 (http://www.0will.com). All rights reserved. * File Name: BaseEntity.java * Author: chenlong * Encoding UTF-8 * Version: 1.0 * Date: 2014年12月4日 * History: */ package com.Owill.web.base.tools; /** * @author chenlong(chenlongwill@163.com) * @version Revision: 1.0.0 Date: 2014年12月4日...
package com.itfacesystem.domain.front; import java.io.Serializable; import java.util.List; /** * Created by wangrongtao on 15/11/3. */ public class CaseProgress implements Serializable, Comparable{ private long id; private long caseinfoid; private int processnodeid; private String processnodename; ...
package com.khasikov.app.objectdata; import java.io.Serializable; public class ObjectToId implements Serializable { private String objectId; private Integer srcObject; private Integer regionKey; private String objectType; private String objectCn; private String objectCon; private String ...
package Utils; import org.apache.http.Consts; import org.apache.http.NameValuePair; import org.apache.http.client.config.RequestConfig; import org.apache.http.client.entity.UrlEncodedFormEntity; import org.apache.http.client.methods.CloseableHttpResponse; import org.apache.http.client.methods.HttpPost; import org.apac...
package com.pom.PageObjetModel; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.chrome.ChromeDriver; import org.openqa.selenium.support.FindBy; import org.openqa.selenium.support.PageFactory; import junit.framework.Assert; public ...
package at.wea5.geocaching.webserviceproxy; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; /** * <p>Java-Klasse für anonymous complex type. * * <p>Das folgende Schemafrag...
package core.client.game.operations; import java.util.HashSet; import cards.equipments.Equipment.EquipmentType; import commands.server.ingame.InGameServerCommand; import core.player.PlayerSimple; import ui.game.interfaces.CardUI; /** * A generic card usage only reaction Operation. Such an Operation has a separate c...
package ru.payts.pool; import ru.payts.base.SpritesPool; import ru.payts.sprite.Bullet; public class BulletPool extends SpritesPool<Bullet> { @Override protected Bullet newObject() { return new Bullet(); } }
package com.ngocdt.tttn.entity; import lombok.Data; import javax.persistence.*; @Entity @Table(name = "SkinType") @Data public class SkinType { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) @Column private int id; @Column private String type; public int getId() { retu...
package org.sayesaman.app2; import android.app.Activity; import android.content.ComponentName; import android.content.Intent; import android.widget.ImageView; import android.widget.Toast; import com.googlecode.androidannotations.annotations.App; import com.googlecode.androidannotations.annotations.Click; import com.g...
package facades; import DTO.MembersDTO; import entities.Colour; import utils.EMF_Creator; import entities.Members; import java.awt.Color; import java.util.List; import javassist.CtClass; import javassist.bytecode.annotation.Annotation; import javax.persistence.EntityManager; import javax.persistence.EntityManagerFacto...
package jarjestaminen.algoritmit; import java.util.Arrays; import java.util.Random; import org.junit.After; import org.junit.Assert; import org.junit.Before; import org.junit.Test; public class QuickSortTest { private int[] arr; private int[] arr2; @Before public void setUp() throws Exception {...
package com.github.service.impl; import com.alibaba.fastjson.JSON; import com.github.domain.webData; import com.github.service.monitorService; import org.junit.Test; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; import static org.junit.Assert.*; public class monitorServiceImpl...
public class Arrays { private int [] sc; private int size = 0; private int j=0; public Arrays(int [] sc,int size) { this.sc =sc; this.size = size; } public boolean isEmpty() { if(j==0) { return true; } else if(j>0 && j<size) { return true; } else { return false; ...
public class DisorderlyEscape { }
package file; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import javax.swing.JFileChooser; import com.lowagie.text.BadElementException; import com.lowagie.text.Cell; import com.lowagie.text.DocumentException; import com.lowagie.text.Paragraph; import com.lowagie.text...
package com.staniul.teamspeak.security.clientaccesscheck; import com.staniul.teamspeak.query.Client; import java.util.Set; /** * Checks if client is in one of many a servergroups based on given groups. */ public class ClientServergroupAccessCheck extends ClientGroupAccessCheck { public ClientServergroupAccessC...
package com.trump.auction.back.rule.service; import com.cf.common.util.page.PageUtils; import com.cf.common.util.page.Paging; import com.github.pagehelper.PageHelper; import com.trump.auction.back.auctionProd.dao.read.AuctionProductInfoDao; import com.trump.auction.back.product.vo.ParamVo; import com.trump.auction.bac...
package com.ecej.nove.base.po; import org.apache.commons.lang3.StringUtils; import java.io.Serializable; import java.util.Date; public class MonitorBase implements Serializable{ private static final long serialVersionUID = 8280094606296752962L; /** * 路由信息 db_column: protocal */ private Str...
package com.github.gaoyangthu.esanalysis.hbase.service.impl; import com.github.gaoyangthu.core.hbase.HbaseTemplate; import com.github.gaoyangthu.core.hbase.HbaseTemplateFactory; import com.github.gaoyangthu.esanalysis.hbase.bean.UserId; import com.github.gaoyangthu.esanalysis.hbase.bean.UserIndex; import com.github.ga...
package main.java.util.dto; /** * 书籍类 * @author libowen1 * */ public class BookDTO { /** * 名称 */ private String name; /** * 路径 */ private String url; /** * 读到了哪一章对应的行 */ private int historyUnitLine; /** * 读到的章节名称 */ private String historyUnitName; /** * 一共多少章 */ private int unitAll; ...
package presentation.customer; import javafx.application.Application; import javafx.fxml.FXMLLoader; import javafx.scene.Scene; import javafx.scene.control.Alert; import javafx.scene.image.Image; import javafx.scene.layout.AnchorPane; import javafx.scene.layout.BorderPane; import javafx.stage.Stage; import presentatio...
package person; import java.io.BufferedReader; import java.io.FileReader; import java.util.ArrayList; import java.util.List; import java.util.HashMap; import java.util.Map; public class PersonHelper { public static String getDetails(Person p) { return p.getFullName() +", " + p.getGender() + ", "+ p.getAge() + ",...
public class jubilacion{ int edad; int antiguedad; String clasificacion; public void setEdad(int edad){ this.edad=edad; } public void setAntiguedad(int antiguedad){ this.antiguedad=antiguedad; } public String devolver(){ if(edad>60&&antiguedad<25){ clasificacion="EDAD"; } if(edad<60&&antiguedad>25){ clasificacion="JOVE...
package org.rs.core.service.impl; import java.util.List; import java.util.Map; import org.rs.core.beans.RsDict; import org.rs.core.beans.RsDictInfo; import org.rs.core.key.RsKeyGenerator; import org.rs.core.mapper.RsDictInfoMapper; import org.rs.core.mapper.RsDictMapper; import org.rs.core.service.RsDictService; impor...
package pro.likada.dao.daoImpl; import org.hibernate.Criteria; import org.hibernate.HibernateException; import org.hibernate.Session; import org.hibernate.Transaction; import org.hibernate.criterion.Restrictions; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import pro.likada.dao.TelegramConversationDAO; im...
package com.github.felixgail.gplaymusic; import com.github.felixgail.gplaymusic.api.GPlayMusic; import com.github.felixgail.gplaymusic.util.TokenProvider; import java.io.IOException; import java.net.URL; import java.util.ArrayList; import svarzee.gps.gpsoauth.AuthToken; import svarzee.gps.gpsoauth.Gpsoauth; //AuthTo...
package com.sinodynamic.hkgta.service.fms; import java.sql.Timestamp; import java.util.Date; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Propagation; import org.springframework.tr...
package com.sai.one.algorithms.arrays.trees; /** * Created by white on 12/23/2016. * http://www.programcreek.com/2012/12/check-if-two-trees-are-same-or-not/ */ public class IsSameTree { public boolean isSameTree(TreeNode p, TreeNode q) { if(p==null && q==null){ return true; }else if(...
package za.ac.cput; import za.ac.cput.views.MainGUI; public class RunApp { public static void main(String[] args) { new MainGUI().setGUI(); } }
package com.heihei.model.msg.bean; import org.json.JSONArray; import org.json.JSONObject; import com.heihei.logic.UserMgr; import com.heihei.model.User; import android.R.bool; import android.util.Log; public class ObServerMessage { public static final String OB_SERVER_MESSAGE_TYPE_START_BELL_ANIM = "start_bell"; ...
package caris.framework.handlers; import caris.framework.basehandlers.GeneralHandler; import caris.framework.basereactions.MultiReaction; import caris.framework.basereactions.Reaction; import caris.framework.library.Variables; import caris.framework.reactions.ReactionEmbed; import caris.framework.tokens.MessageBlock; ...
package fabio.sicredi.evaluation.exception; public class PollNotOpenException extends IllegalStateException { }
import java.io.*; public class TextFileReader{ private String passThis; public String ReadFile(String fileName){ try{ File file = new File(fileName); String s; try{ BufferedReader in = new BufferedReader(new FileReader(file)); s=in.readLine(); passThis = s; while(s!=null)...
package mapx.util.filter; public class LK implements SQLFilter { LK() {} public Entry filter(String realKey, Object value) { return new Entry(realKey, " LIKE ", "%" + value + "%"); } }
package com.example.cow.helpers; import android.content.Context; import android.net.ConnectivityManager; import android.net.NetworkInfo; import android.os.AsyncTask; import android.widget.Toast; import java.io.IOException; import java.net.HttpURLConnection; import java.net.URL; public class NetworkManager { sta...
package th.co.gosoft; import org.junit.Test; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; public class OperandFactoryTest { private static final int DUMMY_LEFT_OPERAND_VALUE = 7; private static final int DUMMY_RIGHT_OPERAND_VALUE = 6; @Test publ...
package oath.server.controller; import java.util.Collection; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annot...
package com.autenticacao; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; /** * Created by eduardo on 25/05/17. */ @SpringBootApplication public class Configuracao { public static void main(String[] args) { SpringApplication.run(Configuraca...
import java.util.ArrayList; /** * Created by Daniel on 2/5/2017. */ public class LongestPrefix { public String longestCommonPrefix(ArrayList<String> a) { String prefix = a.get(0); for (String s : a) { while(!prefix.isEmpty() && !s.startsWith(prefix)) prefix = prefix.s...
package part03.PartitionAndBacktrackingAlgorithm; import java.util.TreeSet; public class FullPermutation { private static TreeSet<String> set = new TreeSet<>(); public static void main(String[] args) { String s = "ABB"; char[] arr = s.toCharArray(); permutation(arr, 0, arr.length - 1);...
package pro.likada.bean.backing; import org.primefaces.model.TreeNode; import pro.likada.model.*; import pro.likada.service.ProductGroupService; import javax.annotation.PostConstruct; import javax.faces.view.ViewScoped; import javax.inject.Inject; import javax.inject.Named; import java.io.Serializable; import java.ut...
package org.jphototagger.program.module.thumbnails; import java.awt.Component; import java.util.ArrayList; import java.util.Collections; import java.util.List; import org.jphototagger.domain.thumbnails.ThumbnailCreator; import org.jphototagger.lib.api.PositionProviderAscendingComparator; import org.jphototagge...
package adapter; public class TravelingByBoat implements AdvancedJourney { @Override public void travelOn(int pathLength) { System.out.println("Journey to the boat " + pathLength + "Íž."); } }
<<<<<<< HEAD package Mines_Weeper; import java.lang.*; import java.util.*; public class ConsolApp extends MinesWeeper{ //Attributes int x,y; boolean isPointer; //Methods ConsolApp(int n,int m,int mines_num){ super(n,m,mines_num); x=y=0; isPointer =false; } public voi...
/* * Copyright (c) 2016 ICM Uniwersytet Warszawski All rights reserved. * See LICENCE.txt file for licensing information. */ package pl.edu.icm.unity.db.generic.reg; import java.util.List; import org.apache.ibatis.session.SqlSession; import pl.edu.icm.unity.db.DBAttributes; import pl.edu.icm.unity.db.generic.Depe...
package com.sunekaer.mods.toolkit.commands; import com.mojang.brigadier.builder.ArgumentBuilder; import com.sunekaer.mods.toolkit.utils.CommandUtils; import net.minecraft.command.CommandSource; import net.minecraft.entity.player.PlayerEntity; import net.minecraft.item.ItemStack; import net.minecraft.nbt.CompoundNBT; i...
import java.util.Scanner; public class PalindromeChecker { public static void main(String[] args){ Scanner sc = new Scanner(System.in); String word; do{ //New input System.out.println("INPUT A WORD TO SEE IF IT IS A PALINDROME(quit to quit)"); word = sc.nextLine(); word = word.toLowerC...
package ru.client; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; public class MyDataSource { private static final String ORACLE_JDBC_DRIVER_ORACLE_DRIVER = "oracle.jdbc.driver.OracleDriver"; private static Connection connection; public static Connection getConn...
package network.nerve.dex.model.txData; import io.nuls.base.basic.NulsByteBuffer; import io.nuls.base.basic.NulsOutputStreamBuffer; import io.nuls.base.data.BaseNulsData; import io.nuls.core.exception.NulsException; import io.nuls.core.parse.SerializeUtils; import java.io.IOException; import java.util.ArrayList; impo...
package com.lynn.test; import com.lynn.bean.UserBean; import java.util.HashMap; import java.util.Map; import java.util.Objects; import org.junit.Test; /* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template ...
package com.asm.view.controller.serviceOrders; import com.asm.entities.order.Status; import com.asm.interactors.OrderInteractor; import com.asm.view.controller.properties.OrderProperty; import javafx.collections.FXCollections; import javafx.collections.ObservableList; import javafx.fxml.FXML; import javafx.fxml.FXMLLo...
package com.programapprentice.app; import com.programapprentice.util.Util; import org.junit.Test; import java.util.List; /** * User: program-apprentice * Date: 9/6/15 * Time: 11:05 PM */ public class RestoreIPAddresses_Test { RestoreIPAddresses_93 obj = new RestoreIPAddresses_93(); @Test public void...
package in.anandm.oj.repository.impl; import in.anandm.oj.model.EmailId; import in.anandm.oj.model.User; import in.anandm.oj.repository.UserRepository; import com.googlecode.genericdao.search.Filter; import com.googlecode.genericdao.search.Search; public class JPAUserRepository extends JPABaseRepository<User, String...
package com.example.naleirbag.login; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.Toolbar; import android.view.View; import android.widget.Button; impo...
/* * Copyright (c) 2008-2019 Haulmont. * * 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 agr...
/* * Copyright 2002-2018 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.codingchili.instance.model.items; import com.codingchili.instance.context.GameContext; import com.codingchili.instance.model.dialog.InteractionOutOfRangeException; import com.codingchili.instance.model.entity.*; import com.codingchili.instance.model.entity.Vector; import com.codingchili.instance.model.even...