text
stringlengths
10
2.72M
package com.ybg.company.qvo; import com.ybg.company.domain.Department; public class DepartmentQvo extends Department { }
package com.example.didiorder.biz; import android.content.Context; import android.util.Log; import com.example.didiorder.bean.Dishes; import com.example.didiorder.bean.Order; import com.example.didiorder.bean.User; import com.example.didiorder.bean.under_order; import com.example.didiorder.tools.ErrorList; import ja...
package org.buaa.ly.MyCar.logic; import org.buaa.ly.MyCar.entity.Order; import org.buaa.ly.MyCar.entity.Vehicle; import org.buaa.ly.MyCar.entity.VehicleInfo; import org.buaa.ly.MyCar.http.dto.OrderDTO; import org.buaa.ly.MyCar.http.dto.VehicleDTO; import org.buaa.ly.MyCar.http.dto.VehicleInfoDTO; import javax.annotat...
package com.rc.portal.webapp.action; import java.io.IOException; import java.io.PrintWriter; import java.math.BigDecimal; import java.sql.SQLException; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.UUID; import javax.servlet....
package com.jack.jkbase.service.impl; import com.jack.jkbase.annotation.Operation; import com.jack.jkbase.entity.SysArea; import com.jack.jkbase.mapper.SysAreaMapper; import com.jack.jkbase.service.ISysAreaService; import com.jack.jkbase.util.Helper; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONAr...
/* * [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 sickbook.Background; public class Config { public static final String EMAIL ="thesickbook@gmail.com"; public static final String PASSWORD ="TheSickestBook"; }
package net.my.test.view; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.Rect; import androidx.appcompat.app.AppCompatActivity; import android.view.MotionEvent; import android.v...
package kz.ogfox.serialization; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.ObjectOutputStream; public class serData { public static void serData(String file_name, Object obj) { try { FileOutputStream fos = new FileOutputStream(fi...
package com.yirmio.lockawayadmin.BL; import java.util.ArrayList; /** * Created by yirmio on 3/24/2015. */ public enum OrderStatusEnum { Active, OnHold, OnDelay, OnMake, Ready, WaitingToStart, Finish, Canceled; public static String[] getAllValues(){ String[] res = new St...
// Make sure the downloaded jar file is in the classpath public class CreateSubscription { public static void main(String[] args) { //Specify your credentials String username = "myAfricasTalkingUsername"; String apiKey = "myAfricasTalkingAPIKey"; // Specify the number that you want to subscribe // Plea...
package com.osce.server.rest.system.org; import com.osce.api.system.org.PfOrgService; import com.osce.dto.common.PfBachChangeStatusDto; import com.osce.entity.SysOrg; import com.osce.enums.OperationTypeEnum; import com.osce.server.security.CurrentUserUtils; import com.osce.vo.PfTreeSelectVo; import com.sm.open.care.co...
package ru.usu.cs.fun.lang.reader_operations; import ru.usu.cs.fun.back.Scope; import ru.usu.cs.fun.back.Term; import ru.usu.cs.fun.back.TermsSubstitutor; import ru.usu.cs.fun.lang.UnaryOpearations; import ru.usu.cs.fun.lang.types.FunReader; import ru.usu.cs.fun.lang.types.FunString; public class OpenString extends U...
package fr.cp.translate.server; import javax.inject.Singleton; import fr.cp.translate.api.Translate; @Singleton public class TranslateProvider { public Translate getTranslate(String comment){ return new Translate("Tr:" + comment); } }
/* * GNUnetWebUI - A Web User Interface for P2P networks. <https://gitorious.org/gnunet-webui> * Copyright 2013 Sébastien Moratinos <sebastien.moratinos@gmail.com> * * * This file is part of GNUnetWebUI. * * GNUnetWebUI is free software: you can redistribute it and/or modify * it under the terms ...
package com.ittr.services.connector; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import org.apache.http.HttpResponse; import org.apache.http.client.methods.HttpGet; import org.apache.http.impl.client.DefaultHttpClient; public class Connection { public Htt...
package view; import java.awt.Color; import java.awt.Font; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.RenderingHints; import javax.swing.JButton; public class FunctionButton extends JButton { private static final long serialVersionUID = -6333664793255443487L; private String text; pub...
package com.technology.share.service; import com.technology.share.domain.Permission; import java.util.List; public interface PermissionService extends BaseService<Permission> { /** * 获取权限树 * @return 返回权限树 */ List<Permission> permissionTree(); }
package com.geektech.todo.fragments; import android.content.Intent; import android.os.Bundle; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.fragment.app.Fragment; import androidx.fragment.app.FragmentManager; import androidx.fragment.app.FragmentTransaction; import androidx...
package script.memodb.data; import java.io.File; import java.util.Collection; import java.util.concurrent.atomic.AtomicInteger; import org.apache.commons.io.FileUtils; import org.apache.commons.io.filefilter.FileFilterUtils; import script.memodb.MemoData; import script.memodb.MemoTable; public class MemoTableImpl e...
package leetcode; /* * You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers and return it as a linked list. You may assume the two numbers do not contain any leading zero, except the ...
package eu.lsem.bakalarka.webfrontend.action.secure; import net.sourceforge.stripes.action.Resolution; import net.sourceforge.stripes.action.ForwardResolution; import net.sourceforge.stripes.action.DefaultHandler; import net.sourceforge.stripes.integration.spring.SpringBean; import eu.lsem.bakalarka.model.BasicT...
package 旋转数组中的最小数字; public class RotateArray { public static void main(String[] args) { int[] a = {3,4,5,1,2}; System.out.println(rotate(a)); } private static int rotate(int[] a){ int r = a.length - 1; int l = 0; while (l < r-1){ int mid = (l + r) >> 1; ...
package com.voiceman.cg.service; import java.util.List; import com.voiceman.cg.entities.CMD; import com.voiceman.cg.entities.Users; public interface IUserService { public Users authentification(String login, String password); public Users addUser(Users user); public boolean updateUser(Users user); public ...
/** * This part responsible for abstract factory and state pattern * */ public class MDA_EFSM { State state; State ls[]; public MDA_EFSM(Data d,String type) { ls = new State[8]; ls[0] = new Start(d,type,this); ls[1] = new S0(d,type,this); ls[2] = new S1(d,type,this); ls[3] = new S2...
package com.wipe.zc.journey.util; import android.app.Notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.content.Context; import android.content.Intent; import com.wipe.zc.journey.R; import com.wipe.zc.journey.global.MyApplication; import com.wipe.zc.journey.ui.activ...
/* * 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 isc.isma4.figuras; /** * * @author Alvarez */ public class Rombo extends Figura{ // D es igual a Dia...
package com.tumit.test; public interface IntegrationTest { }
package pageObjects; import org.openqa.selenium.Keys; import org.openqa.selenium.WebElement; import org.openqa.selenium.support.FindBy; import org.openqa.selenium.support.How; import org.openqa.selenium.support.PageFactory; import core.BaseClass; public class SearchProductPageObjects extends BaseClass { ...
package com.example.rikvanbelle.drinksafe; import com.example.rikvanbelle.drinksafe.models.Beer; import com.example.rikvanbelle.drinksafe.models.DrinkActivity; import com.example.rikvanbelle.drinksafe.models.User; import org.junit.Test; import java.util.Date; import static org.junit.Assert.*; /** * E...
/** * */ package ucl.cs.testingEmulator.core; import java.awt.GridBagLayout; import javax.swing.JPanel; import java.awt.BorderLayout; import java.awt.Dimension; import javax.swing.JCheckBox; import java.awt.GridBagConstraints; import javax.swing.JButton; import javax.swing.JScrollPane; import javax.swing.JEditorPane...
package com.cloudogu.smeagol.wiki.infrastructure; import org.springframework.hateoas.RepresentationModel; import java.util.Objects; public class DirectoryEntryResource extends RepresentationModel<DirectoryResource> { private final String name; private final String type; public DirectoryEntryResource(St...
package br.com.conspesca.service; import java.util.List; import javax.ejb.Stateless; import javax.inject.Inject; import br.com.conspesca.model.Peixe; import br.com.conspesca.repository.PeixeRepository; @Stateless public class PeixeService { @Inject private PeixeRepository peixeRepository; public void salvar(...
/* * [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 te...
// Sun Certified Java Programmer // Chapter 2, P117_2 // Object Orientation class DogTest { public static void main(String[] args) { Animal animal = new Animal(); Dog d = (Dog) animal; // compiles but fails later } }
package com.cristovantamayo.ubsvoce.repositories; /** * Repositório para Geocode implementando JpaRepository<Local>. */ import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; import com.cristovantamayo.ubsvoce.entities.Local; @Repository public interface Loc...
package com.api.conf; public class DefaultConf { public static void initialize(Configuration conf){ if(conf.get(VarConstants.VAR_MYIBTAIS_DATASOURCE)==null){ conf.set(VarConstants.VAR_MYIBTAIS_DATASOURCE,"ds-meta-hsqldb.xml"); } if(conf.get(VarConstants.VAR_FILE_ROOT_DIR)==null){ conf.set(Va...
/* * @(#)ViewSourceAction.java 1.0 19. Mai 2007 * * Copyright (c) 2007 by the original authors of JHotDraw * and all its contributors. * All rights reserved. * * The copyright of this software is owned by the authors and * contributors of the JHotDraw project ("the copyright holders"). * You may not use,...
package com.javarush.task.task24.task2401; /* Создание своего интерфейса-маркера */ public class Solution { public static void main(String[] args) throws UnsupportedInterfaceMarkerException { SelfInterfaceMarkerImpl obj = new SelfInterfaceMarkerImpl(); Util.testClass(obj); } public cl...
package interviews.others; public class Peloton { // how garbage collector recycle memory // does synchronized can be used on Constructor and class? // four lunch mode class MyHashMap { } }
package chapterTwo; public class LinkedListUtil { public static ListNode createList(int[] data) { ListNode head = null; if (data.length > 0) { head = new ListNode(data[0]); } for (int i = 1; i < data.length; i++) { head.appendToTail(data[i]); } return head; } public static vo...
package com.ace.easyteacher.Activity; import android.app.Activity; import android.os.Bundle; import android.support.v7.widget.GridLayoutManager; import android.support.v7.widget.RecyclerView; import android.util.Log; import android.view.View; import com.ace.easyteacher.Adapter.ScheduleAdapter; import com.ace.easyteac...
package sellwin.gui; import sellwin.domain.*; // SellWin http://sourceforge.net/projects/sellwincrm //Contact support@open-app.com for commercial help with SellWin //This software is provided "AS IS", without a warranty of any kind. /** * This interface provides a way for dialogs * to listen for product selections...
package cn.edu.zucc.music.dao; import cn.edu.zucc.music.model.Collection; import org.apache.ibatis.annotations.Mapper; @Mapper public interface CollectionMapper { int deleteByPrimaryKey(Integer collection); int insert(Collection record); int insertSelective(Collection record); Collection selectByP...
package com.serhii.cryptobook; import javax.crypto.*; import java.io.UnsupportedEncodingException; import java.security.*; public class IbmDevOps { private static String plainText = "Hello world!!!"; public static void main(String[] args) throws UnsupportedEncodingException, NoSuchAlgorithmException, Invali...
class Person7{ String name; int age; int height; Person7(int x){ this(); //n에 톰만들기 this.name = "Tom"; } Person7(String n, int h){ this(h);//키 //name에 값 넣기 } Person7(String name, int age, int height){ this.name = name; //this.age = age; this.height = height; this(age); } //필요한 생성ㅇ자 만들기 pu...
/* * [y] hybris Platform * * Copyright (c) 2000-2016 SAP SE * All rights reserved. * * This software is the confidential and proprietary information of SAP * Hybris ("Confidential Information"). You shall not disclose such * Confidential Information and shall use it only in accordance with the * terms of the l...
import java.util.*; public class SpencerHiltonBank { public static void main (String[] args) { Scanner in = new Scanner(System.in); String accountName; //User account name String selection = " "; //Us...
package cn.edu.zucc.web.controller; import cn.edu.zucc.web.model.User; import cn.edu.zucc.web.model.ViewRun; import cn.edu.zucc.web.model.ViewTotal; import cn.edu.zucc.web.security.RoleSign; import cn.edu.zucc.web.service.SearchService; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactor...
package com.tencent.weui.base.preference; import android.content.Context; import android.preference.Preference; import android.text.TextUtils; import android.util.AttributeSet; import android.view.View; import android.widget.TextView; import com.tencent.mm.bw.a$g; import com.tencent.mm.bw.a.c; import com.tencent.mm.bw...
package com.dennistjahyadigotama.soaya.activities.ThreadEditActivity.adapter; import android.net.Uri; /** * Created by Denn on 7/4/2016. */ public class ImageGetter { String id; String caption; String encoded; String imageUrl; Uri uri; public String getImageUrl() { return imageUrl; ...
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); System.out.println("numele primului jucator:"); String player1Name = scanner.nextLine(); System.out.println("numele celui de-al doilea jucator:"); ...
package com.yougou.merchant.api.help.vo; import java.io.Serializable; /** * 商家帮助中心内容实体 * * @author huang.tao * */ public class HelpCenterContent implements Serializable { private static final long serialVersionUID = 237061146051351385L; private String id; /** 菜单ID */ private String menuId; /** 帮助内容 ...
package com.leetcode.oj; //55 https://leetcode.com/problems/jump-game/ public class JumpGame_55 { public boolean canJump_0(int[] nums) { if(nums==null){ return false; } int reach = 0; for(int i=0;i<=reach&&reach<nums.length-1;i++){ reach = Math.max(nums[i]+i,reach); } return re...
package com.qiyi.openapi.demo.activity; import android.content.pm.ActivityInfo; import android.content.res.Configuration; import android.os.Handler; import android.os.Message; import android.view.View; import android.view.WindowManager; import android.widget.Button; import android.widget.ImageButton; import android.wi...
package pattern_test.visitor; /** * Description: * * @author Baltan * @date 2019-04-04 15:17 */ public class ComputerPriceTable implements PriceTable { @Override public void showPrice(CPU cpu) { System.out.println("cpu的价格是: 2000元"); } @Override public void showPrice(GPU gpu) { ...
package rugal.westion.jiefanglu.core.service.impl; import java.util.Date; import java.util.List; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpSession; import org.apache.http.HttpRequest; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotyp...
/* * 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 resourcemanagementapp.locations; import com.jfoenix.controls.JFXRadioButton; import com.jfoenix.controls.JFXTextField; import ...
package com.tencent.mm.plugin.account.bind.ui; import android.content.DialogInterface; import android.content.DialogInterface.OnCancelListener; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.support.v7.app.ActionBarActivity; import android.telephony.TelephonyManager; im...
package artistmanagmentsystem.util; public class SqlStatements { public final static String ADD_STATMENT = "INSERT into artist (name,last_name,age) values(?,?,?)"; public final static String DELETE_STATMENT = "DELETE from artist where id = ?;"; public final static String UPDATE_NAME_STATMENT = "...
public class TestaProduto { public static void main(String[] args) { ProdutoPrecerivel produtoPrecivel = new ProdutoPrecerivel(); produtoPrecivel.setDataValidade("11/01/2021"); System.out.println(produtoPrecivel.dataValida("12/01/2021")); } }
package com.doomcrow.toadgod.components; import com.artemis.Component; public class Velocity extends Component { public float x; public float y; public Velocity(float x, float y) { this.x = x; this.y = y; } public Velocity() { this(0f, 0f); } }
package com.tencent.mm.plugin.setting.ui.qrcode; import android.view.MenuItem; import android.view.MenuItem.OnMenuItemClickListener; class ShareMicroMsgChoiceUI$1 implements OnMenuItemClickListener { final /* synthetic */ ShareMicroMsgChoiceUI mPB; ShareMicroMsgChoiceUI$1(ShareMicroMsgChoiceUI shareMicroMsgC...
/* * 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.mycompany.crud_proj; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; import javaf...
package com.tt.option.ad; import com.tt.miniapphost.AppBrandLogger; import com.tt.miniapphost.util.NativeDimenUtil; import org.json.JSONObject; public final class h { public String a; public String b; public int c; public int d; public int e; public int f; public int...
package com.mapr.music.api.graphql.errors; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; import graphql.ErrorType; import graphql.ExceptionWhileDataFetching; import graphql.execution.ExecutionPath; import graphql.language.SourceLocation; import java.util.List; ...
package com.solomon.service.impl; import com.solomon.common.Constant; import com.solomon.domain.*; import com.solomon.service.ArticleService; import com.solomon.service.LoggingDataService; import com.solomon.service.QuestionService; import com.solomon.vo.ArticleForm; import com.solomon.vo.FormData; import com.solomon....
package ssh.thread; import org.apache.hadoop.util.ToolRunner; import ssh.eum.MRInfo; import ssh.eum.MRLock; import ssh.mr.ImportToHBase; import ssh.util.HUtils; /** * 提交MR任务线程 * * @author fansy * */ public class Hdfs2HBaseRunnable implements Runnable { private String hdfsFile; private String tableName; pr...
/* * Copyright 2013 SciFY NPO <info@scify.org>. * * This product is part of the NewSum Free Software. * For more information about NewSum visit * * http://www.scify.gr/site/en/our-projects/completed-projects/newsum-menu-en * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use ...
/* * 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 rh.gob.igm.ec; import java.io.Serializable; import java.util.List; import javax.persistence.Basic; import javax.pers...
package com.team_linne.digimov.exception; public class MovieSessionNotFoundException extends RuntimeException { public static final String MOVIE_NOT_FOUND = "Movie Session not found"; public MovieSessionNotFoundException() { super(MOVIE_NOT_FOUND); } }
package pl.lua.aws.core.filter; import lombok.Data; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.core.Authentication; import org.springframework.security.core.context.SecurityContextHolder; import org.springframework.security.oauth...
package solutions.lab1; import lab1.RubiksCube; import aima.core.search.framework.HeuristicFunction; public class CornerManhattanDistance implements HeuristicFunction{ private int [][][] goal; private int n; public CornerManhattanDistance(RubiksCube rc) { n = rc.getState().length; goal = new int[n][n][n]; ...
/** * Created by SeAxiAoD on 2019/11/25. */ import java.util.ArrayList; import java.util.Comparator; public class MultiTreeNode { private int message_value; private int spine_value; private RNG rng; private double cost; private MultiTreeNode parent; private ArrayList<MultiTreeNode> child; ...
package controllers; import javafx.fxml.FXMLLoader; import javafx.scene.Node; import javafx.scene.Parent; import javafx.scene.Scene; import javafx.scene.input.MouseEvent; import javafx.stage.Stage; import java.io.IOException; public class step3Controller { public void toStep2(MouseEvent mouseEvent) throws IOExce...
package com.leetcode.wangruns; import com.leetcode.wangruns.Leetcode.TreeNode; //22、sum-root-to-leaf-numbers[树] /** * Given a binary tree containing digits from0-9only, each root-to-leaf path could represent a number. * An example is the root-to-leaf path1->2->3which represents the number123 * Find the total sum o...
package zm.gov.moh.core.repository.database.dao.domain; import org.threeten.bp.LocalDateTime; import androidx.lifecycle.LiveData; import java.util.List; import androidx.room.*; import zm.gov.moh.core.repository.database.dao.Synchronizable; import zm.gov.moh.core.repository.database.entity.domain.Person; import zm....
package com.timmy.rxjava.ui.adapter; import android.content.Context; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import android.widget.TextView; import com.timmy.rxjava.R; import com.timmy....
package com.example.thenewbostonapplicationtest; import java.io.IOException; import org.apache.http.HttpEntity; import org.apache.http.HttpResponse; import org.apache.http.client.ClientProtocolException; import org.apache.http.client.HttpClient; import org.apache.http.client.methods.HttpGet; import org.apach...
package com.jim.multipos.ui.discount.fragments; import android.os.Bundle; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.support.v7.widget.SimpleItemAnimator; import com.jim.mpviews.MpButton; import com.jim.multipos.R; import com.jim.multipos.core.B...
/** * UserRolesAuthorizer.java * * Skarpetis Dimitris 2016, all rights reserved. */ package dskarpetis.elibrary.ui; import org.apache.wicket.Session; import org.apache.wicket.authroles.authorization.strategies.role.IRoleCheckingStrategy; import org.apache.wicket.authroles.authorization.strategies.role.Roles; /** ...
package org.fuserleer; import java.io.IOException; import java.net.InetSocketAddress; import java.util.Objects; import java.util.concurrent.Future; import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeoutException; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet...
package com.milos.config; public class ServerPort { private int value; public ServerPort(int value) throws IllegalArgumentException { if (value < 1) { throw new IllegalArgumentException("Server port value must be greater than zero"); } this.value = value; } public ...
import java.util.Scanner; class Main { public static void main(String args[]) { Scanner in=new Scanner(System.in); int n=in.nextInt(); switch(n) { case 4: System.out.println("24"); break; case 8: System.out.println("40320"); break; } } }
/** * */ /** * @author Matt * */ public class Prob4 { /** * @param args */ // test si nb est un palindrom public boolean palindrom(int nb) { boolean palindrom = false; if ((nb / 100000 == nb % 10 && (nb / 10000) % 10 == (nb / 10) % 10) && (nb / 1000) % 10 == (nb % 1000) / 100)...
package com.meridal.examples.domain; /** * Vehicle. * @author Martin Ingram */ public class Vehicle extends SimpleVehicle { private static final long serialVersionUID = 1L; private Certificate inspection; private Certificate insurance; private Certificate tax; public Certificate getInspection() { return...
package com.zwh.action; import com.google.code.kaptcha.impl.DefaultKaptcha; import com.zwh.model.Img; import com.zwh.model.User; import com.zwh.service.ImgService; import com.zwh.service.UserService; import com.zwh.util.UpImg; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.st...
package com.example.marek.komunikator.model; import java.util.ArrayList; import java.util.List; /** * Created by marek on 21.01.18. */ public class ContactList { private static List<Contact> contactList = new ArrayList<>(); public static void addToList(Contact contact){ contactList.add(contact); ...
package com.research.hadoop.mr.serablition; import org.apache.hadoop.io.LongWritable; import org.apache.hadoop.io.Text; import org.apache.hadoop.mapreduce.Mapper; import java.io.IOException; /** * @fileName: FlowCountMapper.java * @description: FlowCountMapper.java类说明 * @author: by echo huang * @date: 2020-07-19...
package util.scheduler; /** * Created by william.luo on 9/19/2017. */ public class FileNotDeletedException extends Exception { public FileNotDeletedException(String message) { super(message); } }
package com.projeto.view.produto; import java.util.List; import javax.swing.table.AbstractTableModel; import com.projeto.model.models.Produto; public class TabelaProdutoModel extends AbstractTableModel{ private static final long serialVersionUID = -4218080616820337048L; private final String colunas[] = {"Código...
package com.tao.service; import java.util.ArrayList; import com.tao.model.Commodity; import com.tao.model.User; public class FixService extends CommodityService{ public ArrayList<Commodity> queryAllCommodity(){ ArrayList<Commodity>total = super.queryAllCommodity(); ArrayList<Commodity>fix = new ArrayList<Commo...
package com.zhowin.miyou.http; import androidx.lifecycle.LifecycleOwner; import com.uber.autodispose.AutoDispose; import com.uber.autodispose.android.lifecycle.AndroidLifecycleScopeProvider; import com.zhowin.base_library.http.HttpCallBack; import com.zhowin.base_library.http.RetrofitFactory; import com.zhowin.base_...
package business.api; import java.util.Calendar; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.core.annotation.AuthenticationPrincipal; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.a...
package com.example.unicornrecorder.ui.main; import android.os.Build; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ListView; import androidx.annotation.NonNull; import androidx.annotation.RequiresApi; import androidx.lifec...
package com.quizcore.quizapp.model.repository; import com.quizcore.quizapp.model.entity.Quiz; import org.springframework.data.repository.CrudRepository; import java.util.List; import java.util.UUID; public interface QuizRepository extends CrudRepository<Quiz, UUID> { List<Quiz> findAllByPartnerId(UUID partnerId...
package com.montwell.moviecentral; import android.database.ContentObserver; import android.database.Cursor; import android.database.DataSetObserver; import android.os.Handler; import android.support.v7.widget.RecyclerView; import java.util.ArrayList; import java.util.List; /** * Created by Jonathan Montwell on 10/2...
package com.tencent.mm.plugin.webview.ui.tools.game; import com.tencent.mm.sdk.platformtools.x; class GameWebViewUI$8 implements Runnable { final /* synthetic */ GameWebViewUI qgm; GameWebViewUI$8(GameWebViewUI gameWebViewUI) { this.qgm = gameWebViewUI; } public final void run() { if...
package bangundatar; public class Persegi implements BangunDatar { private double sisi; //Konsep Encapsulation public double getSisi(){ return sisi; } public void setSisi(double sisi){ this.sisi = sisi; } @Override public double Hitung(){ System.out.pr...
package ejercicio5; import javax.xml.transform.Result; import javax.xml.transform.Source; import javax.xml.transform.Transformer; import javax.xml.transform.TransformerException; import javax.xml.transform.TransformerFactory; import javax.xml.transform.stream.StreamResult; import javax.xml.transform.stream.StreamSourc...