text
stringlengths
10
2.72M
package com.nisira.view.Activity; import android.app.ProgressDialog; import android.content.Context; import android.os.Bundle; import android.support.design.widget.TextInputEditText; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentTransaction; import android.support.v7.widget.LinearLayout...
package com.app.upworktest.models; import java.util.List; public class QuizQuestion { public String questionText; public int correctAnswerIndex; public float timestamp; public float timecap; public List<QuizAnswer> answers; public int userAnswerIndex = -1; }
package com.dipanshu.app.observabletestproject.ui.activities; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.util.Log; import android.widget.TextView; import com.dipanshu.app.observabletestproject.R; import com.dipanshu.app.observabletestproject.model.Posts; import com.dipa...
package weebloog; import java.io.IOException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import com.google.appengine.api.users.User; import com.google.appengine.api.users.UserService; import com.google.appengine.api.users.UserSe...
package automation.enums; public enum Browser { CHROME("77"), // FIREFOX("78"), // IE("993"), // OPERA("9.9.3"); private String version; Browser(String version) { this.version = version; } public String getVersion() { return version; } }
package gina.nikol.qnr.demo.dao; import java.util.List; import org.hibernate.Session; import org.hibernate.SessionFactory; import org.hibernate.query.Query; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Repository; import org.springframework.transaction.annotatio...
package com.esum.appframework.struts.actionform; import java.util.ArrayList; import java.util.Enumeration; import javax.servlet.http.HttpServletRequest; import org.apache.struts.action.ActionErrors; import org.apache.struts.action.ActionMapping; import com.esum.appframework.common.UtilCommon; public class ListUtil...
package com.example.armstest.controller; import com.example.armstest.data.DeviceNameRepo; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.GetMapping; import org.springfra...
package com.cbsystematics.edu.internet_shop.entity; public enum RoleEnum { USER(new Role("User")), ADMIN(new Role("Admin")), MODERATOR(new Role("Moderator")); private Role role; RoleEnum(Role role) { this.role = role; } public Role getRole() { return role; } }
package u1l; import robocode.*; import java.awt.Color; import static robocode.util.Utils.normalRelativeAngleDegrees; import robocode.RobotStatus; import java.awt.geom.Point2D; // API help : http://robocode.sourceforge.net/docs/robocode/robocode/Robot.html /** * ProtoSpencerTronV4 - a robot by Carl Adrian P...
package uz.pdp.lesson5task1.payload; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; @Data @AllArgsConstructor @NoArgsConstructor public class TurniketDto { private Integer companyId; private String ownerEmail; }
package com.mygdx.game; import com.artemis.Aspect; import com.artemis.ComponentMapper; import com.artemis.annotations.Wire; import com.artemis.utils.IntBag; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.Input; import com.badlogic.gdx.ai.steer.Limiter; import com.badlogic.gdx.ai.steer.Steerable; import com.badlo...
package com.gxtc.huchuan.ui.news; import android.content.Intent; import android.os.Bundle; import android.support.v4.widget.SwipeRefreshLayout; import android.support.v7.app.AlertDialog; import android.support.v7.widget.LinearLayoutManager; import android.view.View; import android.widget.CheckBox; import android.widge...
package com.abt.middle.swipback; import android.app.Activity; import android.app.Application; import android.graphics.drawable.Drawable; import android.support.annotation.NonNull; import android.view.View; import android.view.ViewGroup; import com.abt.middle.R; import com.abt.middle.swipback.widget.SwipBackLayout; im...
package main.Controller; import javafx.collections.FXCollections; import javafx.collections.ObservableList; import javafx.collections.transformation.FilteredList; import javafx.fxml.Initializable; import javafx.scene.control.TableColumn; import javafx.scene.control.TableView; import javafx.scene.control.cell.PropertyV...
package shared.Crawler; import java.io.Serializable; import java.net.MalformedURLException; import java.net.URI; import java.net.URISyntaxException; import java.net.URL; public class Link implements Serializable { /** * */ private static final long serialVersionUID = 1L; URL url; String domain; public Link(...
package cover; public class InfiniteRangeSet implements ISet { private final int start; private final int step; public InfiniteRangeSet(int start, int step) { this.start = start; this.step = -step; } public boolean coversAnyElement(final boolean[] array) { for (int i = sta...
package be.openclinic.system; import java.awt.Transparency; import java.awt.color.ColorSpace; import java.awt.image.*; import org.apache.http.HttpEntity; import org.apache.http.client.methods.CloseableHttpResponse; import org.apache.http.client.methods.HttpPost; import org.apache.http.entity.ContentType; import org....
package com.sirma.itt.javacourse.chat.client.ui; import java.awt.BorderLayout; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import javax.swing.JPanel; import javax.swing.JTabbedPane; import org.apache.log4j.Logger; import com.sirma.itt.javacourse.chat.client.ui.componnents.ClosableTab...
package com.sinodynamic.hkgta.integration.spa.response; import java.util.HashMap; import java.util.Map; import com.fasterxml.jackson.annotation.JsonAnyGetter; import com.fasterxml.jackson.annotation.JsonAnySetter; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude;...
/* * 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 view.rootlayout; import java.net.URL; import java.util.ResourceBundle; import javafx.fxml.Initializable; import javafx.scene.c...
import com.sun.net.httpserver.HttpServer; import handlers.*; import handlers.creep.*; import handlers.mentor.MentorEditProfile; import handlers.mentor.MentorLoginPageHandler; import handlers.mentor.coincubator.*; import handlers.mentor.quests.*; import handlers.mentor.store.*; import handlers.student.*; import handlers...
package br.com.douglastuiuiu.biometricengine.exception; /** * @author douglasg * @since 10/03/2017 */ public class ServiceException extends Exception { private static final long serialVersionUID = -1766164263398361960L; public ServiceException() { super(); } public ServiceException(String...
package com.itheima.mysql_day04.jdbc_demo_05; import com.itheima.mysql_day04.util.JDBCUtils; import java.sql.*; public class Demo_05 { /* 使用ResultSet获取数据 */ public static void main(String[] args) { Statement stmt = null; Connection conn = null; ResultSet rs = null; try { //1. 注册驱动 //2. 获取连接对象 ...
package pl.almestinio.countdowndays.ui.editCountdownView; import org.joda.time.DateTime; import pl.almestinio.countdowndays.model.CountdownDay; /** * Created by mesti193 on 4/1/2018. */ public interface EditCountdownContracts { interface View{ void showSnackbarSuccess(String message); void sh...
package alien4cloud.rest.topology; import lombok.Getter; import lombok.NoArgsConstructor; import lombok.Setter; import lombok.ToString; import org.hibernate.validator.constraints.NotBlank; /** * a nodetemplate request object * * @author 'Igor Ngouagna' */ @Getter @Setter @ToString @NoArgsConstructor @SuppressWa...
package be.darkshark.parkshark.api.controller; import be.darkshark.parkshark.api.dto.allocation.CreateAllocationDTO; import be.darkshark.parkshark.api.dto.allocation.GetAllocationDTO; import be.darkshark.parkshark.service.AllocationService; import org.springframework.beans.factory.annotation.Autowired; import org.spri...
package Array; public class L070_ClimbStairs { public static void main(String[] args) { int n = 3; int ret = new L070_ClimbStairs().climbStairs(n); System.out.print(ret); } // 2. 仅保存最后2个数字即可 public int climbStairs(int n) { if (n <= 2) return n; int f1 = 1, f2 =...
package com.sirma.itt.javacourse.threads.test.task5; import static org.junit.Assert.*; import org.junit.Before; import org.junit.Test; import com.sirma.itt.javacourse.threads.task5.synchronizedstack.ObjectListSynchonized; /** * Test class {@link ObjectListSynchonized} * * @author Simeon Iliev */ public class T...
package Pro30.FindGreatestSumOfSubArray; /*HZ偶尔会拿些专业问题来忽悠那些非计算机专业的同学。 今天测试组开完会后,他又发话了:在古老的一维模式识别中, 常常需要计算连续子向量的最大和,当向量全为正数的时候,问题很好解决。 但是,如果向量中包含负数,是否应该包含某个负数,并期望旁边的正数会弥补它呢? 例如:{6,-3,-2,7,-15,1,2,2},连续子向量的最大和为8(从第0个开始,到第3个为止)。 你会不会被他忽悠住?(子向量的长度至少是1)*/ public class Solution { ...
package nxpense.helper; import nxpense.domain.User; import nxpense.exception.UnauthenticatedException; import nxpense.repository.UserRepository; import nxpense.security.CustomUserDetails; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org....
/** * */ package conexion; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; /** * Clase que contiene la conexion a la base de datos * * @author Darwin * */ public class Conexion { // Controlador de mysql private static final String CONTROLADOR = "com.mysql.jdbc.Driv...
package com.formation; import java.util.stream.Collectors; import org.antlr.v4.runtime.ANTLRInputStream; import org.antlr.v4.runtime.CommonTokenStream; import org.antlr.v4.runtime.TokenSource; import org.antlr.v4.runtime.tree.ParseTreeWalker; import org.junit.Assert; import org.junit.Test; import com.formation.model...
package com.fsClothes.mapper.impl; import java.util.List; import org.apache.ibatis.session.SqlSessionFactory; import org.mybatis.spring.support.SqlSessionDaoSupport; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Repository; import com.fsClothes.mapper.C...
public class NineEasy { private long MOD = 1000000007; public int count(int N, int[] in) { boolean[][] saw = new boolean[in.length][5]; for(int i = 0; i < saw.length; ++i) { int temp = in[i]; for(int j = 0; j < saw[i].length; ++j) { if(temp%2 == 1) { ...
package vista.Comandas; import java.util.Vector; import java.awt.event.ActionEvent; import javax.swing.AbstractAction; import javax.swing.JButton; import javax.swing.JComboBox; import javax.swing.JLabel; import javax.swing.JOptionPane; import javax.swing.JTextField; import javax.swing.WindowConstants; import control...
import java.util.ArrayList; import java.util.List; public class PascalTriangleTwo { /** * Given the rowIndex, return the corresponding row of PascalTriangle * Input: 3 Output: [1,3,3,1] */ public List<Integer> getRow(int rowIndex) { List<Integer> toreturn = new ArrayList<Integer>(); if(row...
/** * */ package de.fraunhofer.iese.ids.odrl.policy.library.model.enums; /** * @author Robin Brandstaedter <Robin.Brandstaedter@iese.fraunhofer.de> * */ public enum TimeUnit { //every hour HOURS("0 0 * * * ?","H"), //every day DAYS("0 0 0 * * ?","D"), //every first day of the month MONTHS("0 0 0 1 * ?", ...
package com.mahang.weather.common; /** * Created by hasee on 2017/3/18. */ public interface PreferenceKey { String KET_LOCATION_CITY = "location_city"; }
package com.yxkj.facexradix.room.dao; import android.arch.persistence.room.Dao; import android.arch.persistence.room.Delete; import android.arch.persistence.room.Insert; import android.arch.persistence.room.Query; import android.arch.persistence.room.Update; import com.yxkj.facexradix.room.bean.IosToken; import com.y...
import java.util.*; public class Solution5 { public static void main(String args[]) { Scanner in=new Scanner(System.in); String s=in.next(); int j=s.length(); int i=0; j--; while(i<j) { if(s.charAt(i)==s.charAt(j)) { i++; j--; } else break; } if(i>=j) System.out.p...
package com.example.bookspace.adapters; import android.content.Context; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.TextView; import com.example.bookspace.R; import com.example.bookspace.ReviewsClass; import java.util.List; public class ReviewsAd...
/* * Copyright 2002-2022 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
package ru.ivan.leo.otgcontrol; import android.os.SystemClock; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.text.method.ScrollingMovementMethod; import android.view.View; import android.widget.Button; import android.widget.TextView; import com.hoho.android.usbserial.driver...
package com.huang.Test; public class ServiceTest { // DoInfoBean doBean = new DoInfoBean(); // // DelFileDao fileDao = new DelFileDao(); // // private void init(String name, String path, boolean isFile, String type, String context) { // doBean.setName(name); // doBean.setPath(path); // doBean.setIsFile(isFi...
package com.infoworks.lab.rest.breaker; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.net.HttpURLConnection; public class HttpResponse implements AutoCloseable { private CircuitBreaker.Status status; private Integer code; ...
package testRunner; //import org.junit.runner.RunWith; import org.testng.annotations.Test; import cucumber.api.CucumberOptions; //import cucumber.api.junit.Cucumber; import cucumber.api.testng.AbstractTestNGCucumberTests; //Uncomment @RunWith if not using Junit //@RunWith(Cucumber.class) @Cucumber...
/** * */ package com.miaoqi.authen.core.properties; /** * @author zhailiang * */ public class SmsCodeProperties { /** * 默认配置 */ private int length = 6; private int expireIn = 60; private String url; public int getLength() { return this.length; } public void setLeng...
package com.gaoshin.onsalelocal.search; import org.apache.solr.handler.dataimport.Context; public class ImportOnEndListener extends ImportListener { @Override public void onEvent(Context ctx) { String name = ctx.getSolrCore().getName(); Object value = ctx.getRequestParameters().get(KEY_END_TI...
package com.example.interview.operators; import java.util.List; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; public class Operators { @SerializedName("rechageonetimetoken") @Expose private String rechageonetimetoken; @SerializedName("all_operator") ...
package com.douglaslbittencourt.comercial; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class CursoAlgaworksComercialApiApplication { public static void main(String[] args) { SpringApplication.run(CursoAlgawor...
/* * Copyright (c) 2013-2014, Neuro4j.org * * 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 com.bag.pin.model; /** * Created by johnny on 25/11/15. */ public class Board { }
/* * Copyright 2002-2019 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.cipher.c0753362_mad3125_midterm.activities; import android.content.Intent; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.EditText; import androidx.annotation.Nullable; import com.cipher.c0753362_mad3125_midterm.BaseActivity; import com.cipher.c0753362_...
package at.ac.tuwien.sepm.groupphase.backend.endpoint.dto; import at.ac.tuwien.sepm.groupphase.backend.entity.Permissions; import javax.persistence.EnumType; import javax.persistence.Enumerated; import javax.validation.constraints.Email; import javax.validation.constraints.NotBlank; import javax.validation.constraint...
/* * Copyright (C) 2019 The Android Open Source Project * * 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 app...
package com.drugstore.pdp.product.entity; import java.util.Date; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence.Table; @Entity @Table(name="PRODUCT_INFO") public class ProductInfo { @Id @Ge...
public class HelloTopia { public static void main(String[] args) { System.out.println("Hello Topia"); } }
package com.ctgu.lan.manage.controller; import com.ctgu.lan.manage.utils.MD5Util; import org.springframework.http.HttpRequest; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web....
package com.springbootreactapi.api.controller; import com.springbootreactapi.api.model.User; import com.springbootreactapi.api.repository.UserRepository; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.*; import java.util.List; //@CrossOrigin(origins = "h...
package com.rankytank.client.gui; import com.google.gwt.user.client.ui.Button; /** * */ public class AddPlayerButton extends Button { public AddPlayerButton() { setStyleName("colorbutton3"); } }
package dev.nowalk.repositories; import java.util.List; import dev.nowalk.models.Movie; public interface MovieRepo { // The primary functionality that we would like our Repository (DAO, data access object) Layer to achieve is the //CRUD operation on our Data. //some common Retrieve/Read methods public Movie g...
package idv.emp.dao; import java.util.List; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringRunner; impo...
package com.codingchili.social.configuration; import com.codingchili.social.model.*; import io.vertx.core.CompositeFuture; import io.vertx.core.Future; import java.util.ArrayList; import java.util.List; import com.codingchili.core.context.CoreContext; import com.codingchili.core.context.SystemContext; import com.cod...
package io.flyingmongoose.brave.adapter; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentStatePagerAdapter; import android.support.v4.app.FragmentManager; import io.flyingmongoose.brave.fragment.FragGroupsNewOld; import io.flyingmongoose.brave.fragment.FragGroupsPrivate; import io.flyin...
package edu.gyaneshm.ebay_product_search.shared; import android.widget.Toast; import org.json.JSONArray; import org.json.JSONObject; import java.util.ArrayList; import java.util.Locale; import edu.gyaneshm.ebay_product_search.EbayProductSearchApplication; import edu.gyaneshm.ebay_product_search.R; public class Uti...
package com.cdapplications.until; import android.app.AlertDialog; import android.app.DatePickerDialog; import android.app.Dialog; import android.os.Bundle; import android.support.v4.app.DialogFragment; import android.widget.DatePicker; import java.util.Calendar; /** * Created by Colin on 2015-09-06. */ public clas...
package com.javatunes.domain; import java.io.Serializable; import javax.inject.Named; @Named public class Transaction implements Serializable { private static final long serialVersionUID = 1L; private long id; private String userName; private double subTotal; private double tax; private doub...
package com.sise.bishe; import com.sise.bishe.dao.UserMapper; import com.sise.bishe.entity.User; import com.sise.bishe.service.UserService; import org.junit.jupiter.api.Test; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import javax.xml.ws...
package com.mediafire.sdk; import com.mediafire.sdk.response_models.MediaFireApiResponse; public interface MediaFireApiResponseParser { /** * parses a response as a byte[] to an ApiResponse of the type passed * @param response * @param classOfT * @param <T> * @return null if the response ...
import org.apache.pdfbox.cos.COSDictionary; import org.apache.pdfbox.cos.COSName; import org.apache.pdfbox.cos.COSString; import org.apache.pdfbox.pdmodel.PDDocument; import org.apache.pdfbox.pdmodel.PDDocumentCatalog; import org.apache.pdfbox.pdmodel.PDResources; import org.apache.pdfbox.pdmodel.font.PDFont; import or...
package apptsched.bootstrap; import apptsched.common.DateHelper; import apptsched.domain.Appointment; import apptsched.domain.Client; import apptsched.domain.Employee; import apptsched.services.AppointmentService; import apptsched.services.ClientService; import apptsched.services.EmployeeService; import org.springfram...
package com.example.entity.base; /** * Created by ZYB on 2017-03-10. */ public class Result<T> { public int code; public String msg; public T data; public int getCode() { return code; } public String getMsg() { return msg; } public T getData() { return dat...
package com.bobo.portal.user.servlet; import com.bobo.bean.User; import com.bobo.common.BaseServlet; import com.bobo.portal.user.dao.impl.UserDao; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletRespo...
package com.shopping.webScoket;
public class LastWordLength { public int lengthOfLastWord(String s) { int length = 0; String[] result = s.trim().split(" "); return result[result.length - 1].length(); } } class LastWordLengthTest { public static void main(String[] args) { System.out.println(new LastWordL...
package com.codepath.instagram.fragments; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.content.LocalBroadcastManager; import andro...
package Program_Examples; import java.io.BufferedReader; import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; public class convert_InputStream_to_String { public static void main(String[] args) throws IOException { InputStreamReader is...
package LC414ThirdMaximumNumber; import java.util.TreeSet; //Time Complexity O(nlogn) not O(n) //Inserting in heap is logN. // So insertion og N elements will take nlogn changing the overall complexity of algo to nlogn public class TreeSetSolu { public int thirdMax(int[] nums) { TreeSet<Integer> treeSet = ...
package com.huawei.account.mapper; import com.huawei.account.domain.Account; import com.huawei.account.domain.Bill; import com.huawei.account.domain.Bill_Code; import com.huawei.account.domain.Services; import com.huawei.base.utils.PageBean; import java.util.List; /** * Created by dllo on 17/11/16. */ public inter...
package mb.tianxundai.com.toptoken.secondphase.allInterface; import java.util.HashMap; import java.util.List; import java.util.Map; import io.reactivex.Observable; import io.reactivex.Observer; import io.reactivex.android.schedulers.AndroidSchedulers; import io.reactivex.disposables.Disposable; import io.reactivex.sc...
package pl.dkiszka.bank.account.controllers; import lombok.RequiredArgsConstructor; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.DeleteMapping; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.RequestMapping; i...
package com.game.web.rest; import com.game.biz.model.DemarrageLastWeekReport; import com.game.service.DemarrageLastWeekReportService; import com.game.web.rest.errors.BadRequestAlertException; import io.github.jhipster.web.util.HeaderUtil; import io.github.jhipster.web.util.ResponseUtil; import org.slf4j.Logger; impor...
package linkedList; import java.util.LinkedList; public class C206 { public static void main(String[] args) { ListNode next2 = new ListNode(3); ListNode next1 = new ListNode(2, next2); ListNode head = new ListNode(1, next1); Solution_1 solution = new Solution_1(); ...
package com.worldchip.bbpaw.bootsetting.receiver; import com.worldchip.bbpaw.bootsetting.util.Common; import com.worldchip.bbpaw.bootsetting.util.LogUtil; import com.worldchip.bbpaw.bootsetting.util.Utils; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; public...
import static org.junit.Assert.assertEquals; import image.Image; import image.Pixel; import model.ColorTransformation; import model.Filter; import model.ImageProcessingModel; import model.ImageUtils; import model.PPM; import model.SimpleImageProcessingModel; import java.util.ArrayList; import java.util.List; import or...
package com.melodygram.broadcastReceivers; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.net.ConnectivityManager; import android.net.NetworkInfo; import android.util.Log; import com.melodygram.activity.ChatActivity; /** * Created by LALIT on ...
package br.com.vl; import lombok.Getter; import lombok.Setter; import javax.faces.bean.ManagedBean; import java.util.ArrayList; import java.util.List; /** * Created by leo on 12/12/16. */ @ManagedBean @Getter @Setter public class TesteBean { private List<ModeloDiploma> modelos; public TesteBean() { ...
package com.example.ahmed.bakingapp; import com.example.ahmed.bakingapp.data.Ingredient; import com.example.ahmed.bakingapp.data.Step; import java.io.Serializable; import java.util.ArrayList; public class AbstractModel implements Serializable { private String title; private ArrayList<Ingredient> ingredients...
package com.zxt.compplatform.workflow.service.impl; import java.util.ArrayList; import java.util.List; import javax.servlet.http.HttpServletRequest; import com.zxt.compplatform.form.entity.Form; import com.zxt.compplatform.form.service.IFormService; import com.zxt.compplatform.formengine.constant.Constant; import co...
package com.classroom.services.infrastructure.persistence.hibernate; import java.util.ArrayList; import java.util.List; import java.util.Set; import java.util.UUID; import javax.persistence.criteria.CriteriaBuilder; import javax.persistence.criteria.CriteriaQuery; import javax.persistence.criteria.Expression; import ...
package com.aidigame.hisun.imengstar.ui; import java.io.File; import java.io.RandomAccessFile; import java.net.HttpURLConnection; import java.net.URL; import java.util.ArrayList; import org.jivesoftware.smack.util.Base64.InputStream; import org.simple.eventbus.EventBus; import android.app.Activity; import android.co...
package Utilities; import java.awt.AlphaComposite; import java.awt.Graphics2D; import java.awt.RenderingHints; import java.awt.image.BufferedImage; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.net.URISyntaxException; import java.net.URL; import j...
package org.jbehave.demo.steps; import org.jbehave.core.annotations.Given; import org.jbehave.core.annotations.Then; import org.jbehave.core.annotations.When; import org.jbehave.demo.builders.FlightBuilder; import org.jbehave.demo.builders.FopBuilder; import org.jbehave.demo.builders.PassengerBuilder; import org.jbeha...
package nxpense.helper; import nxpense.builder.ExpenseDtoBuilder; import nxpense.domain.CreditExpense; import nxpense.domain.DebitExpense; import nxpense.domain.Expense; import nxpense.domain.Tag; import nxpense.dto.ExpenseDTO; import nxpense.dto.ExpenseResponseDTO; import nxpense.dto.ExpenseSource; import nxpense.dto...
package com.test.base; /** * Given two non-negative integers num1 and num2 represented as strings, * return the product of num1 and num2, also represented as a string. * * 给定两个非负数,求乘积 * * Example 1: * Input: num1 = "2", num2 = "3" * Output: "6" * * Example 2: * Input: num1 = "123", num2 = "456" * Outpu...
package com.example.riccardo.chat_rev.db; import android.content.ContentValues; import android.content.Context; import android.content.SharedPreferences; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.util.Log; import com.example.riccardo.chat_rev.chat.Const; import org...
// ChatClient.java // // Modified 1/30/2000 by Alan Frindell // Last modified 2/18/2003 by Ting Zhang // Last modified : Priyank Patel <pkpatel@cs.stanford.edu> // // Chat Client starter application. package Chat; // AWT/Swing import java.awt.*; import java.awt.event.*; import javax.swing.*; // Java import ja...
package com.pikai.app.activity; import android.app.Activity; import android.os.Bundle; import android.os.Handler; import android.os.Message; import android.util.Log; import android.view.Menu; import android.view.MenuItem; import android.view.View; import android.widget.Button; import android.widget.EditText; import an...