text
stringlengths
10
2.72M
package com.tencent.adasdemo.activity; import android.app.Activity; import android.graphics.SurfaceTexture; import android.os.Bundle; import android.os.Handler; import android.util.DisplayMetrics; import android.util.Log; import android.view.TextureView; import android.view.ViewGroup; import android.view.Window; impor...
import java.util.Scanner; import java.util.regex.Matcher; import java.util.regex.Pattern; public class CountSubstringOccurrences { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); String text = scanner.nextLine().toLowerCase(); String substring = scanner.ne...
/** * Provides an Interface for the Endpoint Service to be used by other bundles.<br /> * <br /> * Copyright 2012 IAAS University of Stuttgart <br /> * <br /> * * @author Matthias Fetzer - fetzerms@studi.informatik.uni-stuttgart.de */ package org.opentosca.core.endpoint.service;
package org.World; import java.util.ArrayList; import java.util.concurrent.ConcurrentLinkedQueue; public class World { private static ConcurrentLinkedQueue<Tile> tiles=new ConcurrentLinkedQueue<Tile>(); private static ConcurrentLinkedQueue<GameObject> gameObjects=new ConcurrentLinkedQueue<GameObject>(); ...
package com.base.common.adapter; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Configuration; import org.springframework.core.Ordered; import org.springframework.web.servlet.config.annotation.De...
/* * Copyright (c) 2012, ubivent GmbH, Thomas Butter, Oliver Seuffert * All right reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. * * This software is based on RFC6386 * * Copyr...
package pl.sidor.model; import java.io.Serializable; public class User implements Serializable { private int id; private String name; private String lastName; private String email; private Adres adres; public User() { } public User(int id, String name, String lastName, String email,...
package es.ubu.lsi.server; import es.ubu.lsi.common.GameElement; /** * Define la signatura de los métodos de arranque, multidifusión y eliminación de clientes. * * @author Antonio de los Mozos Alonso * @author Miguel Angel Leon Bardavio * */ public interface GameServer { /** * Inicia un bucle de espera qu...
import javax.swing.*; import javax.swing.event.MenuListener; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; public class EditMenu extends JMenu{ String text; EditMenu(JTextArea jTextArea, Repo repo){ super("编辑"); JMenuItem addKey = new JM...
package com.lti.collections; import java.util.*; public class LinkedHashSetExample { public static void main(String[] args) { LinkedHashSet<String> LHSet = new LinkedHashSet<String>(); LHSet.add("C"); LHSet.add("D"); LHSet.add("A"); LHSet.add("B"); LHSet.add("234"); LHSet.add("123"); LHSet.add("111...
package com.rc.panels; import com.rc.frames.MainFrame; import javax.swing.*; import java.awt.*; /** * @author song * @date 19-9-24 14:42 * @description * @since */ public class LeftPanel extends JPanel { private NavPanel navPanel; private ChatRoomsPanel chatRoomsPanel; public LeftPanel() { ...
package vanadis.jmx; import vanadis.core.collections.Generic; import javax.management.MBeanAttributeInfo; import java.util.List; import java.util.Map; class MapAttributes { private static final String STRING_TYPE = String.class.getName(); static MBeanAttributeInfo[] attributes(Map<String,Object> map, boole...
package com.microsilver.mrcard.basicservice.dto; import io.swagger.annotations.ApiModelProperty; import lombok.Data; @Data public class PrctureDto { @ApiModelProperty(value = "图片url") private String pictureUrl; }
package org.holoeverywhere.preference; import org.holoeverywhere.HoloEverywhere; import org.holoeverywhere.HoloEverywhere.PreferenceImpl; import android.content.Context; import android.util.Log; public class PreferenceManagerHelper { static interface PreferenceManagerImpl { SharedPreferences getDefaultS...
/* * [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...
import java.awt.font.NumericShaper; import java.util.Scanner; public class AngleUnitConverter { //Write a method to convert from degrees to radians. Write a method to convert from radians //to degrees. You are given a number n and n queries for conversion. Each conversion query //will consist of a number + space ...
/* * [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...
import java.io.*; import java.util.*; /** * Adjacency list implementation for the AssociationGraph interface. * * Your task is to complete the implementation of this class. You may add * methods, but ensure your modified class compiles and runs. * * @author Jeffrey Chan, 2019. */ public class AdjList extends Ab...
package opt.easyjmetal.util.distance; /** * 距离计算 */ @FunctionalInterface public interface Distance<E, J> { double getDistance(E element1, J element2); }
package com.tencent.mm.g.a; import com.tencent.mm.sdk.b.b; public final class ll extends b { public a bVN; public ll() { this((byte) 0); } private ll(byte b) { this.bVN = new a(); this.sFm = false; this.bJX = null; } }
package br.com.zup.zupacademy.daniel.mercadolivre.usuario; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; import org.spr...
/* * Copyright 2013 James Geboski <jgeboski@gmail.com> * * This program 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. * * Thi...
package com.mlm.entity; import com.mlm.db.FHistoryBayar; import com.orientechnologies.orient.core.metadata.schema.OType; import com.orientechnologies.orient.core.record.impl.ODocument; import java.math.BigDecimal; import java.util.Date; public class HistoryBayar { private Date tglBayar; private BigDecim...
package com.oumar.learn.service.impl; import com.oumar.learn.dao.PersonDAO; import com.oumar.learn.model.Person; import com.oumar.learn.service.PersonService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import javax.annotation.Resource; @Service publi...
package com.spring.domain.fieldview; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.Table; //sme_field_view_form_data @Entity @Table(name="sme_field_v...
package com.osce.api.biz.training.res.room; import com.osce.dto.biz.training.res.room.RoomDto; import com.osce.dto.common.PfBachChangeStatusDto; import com.osce.entity.ErpRoom; import com.osce.entity.ErpRoomDevice; import com.osce.result.PageResult; /** * @ClassName: PfRoomService * @Description: 房间管理 * @Author ya...
package jaja; import com.fasterxml.jackson.annotation.JsonProperty; public class Cita { @JsonProperty("type") private String tipo; @JsonProperty("value") private Valor valor; public Cita() { } public Cita(String tipo, Valor valor) { this.tipo = tipo; this.valor = valor; ...
package pl.gabinetynagodziny.officesforrent.service.impl; import org.springframework.stereotype.Service; import pl.gabinetynagodziny.officesforrent.entity.Detail; import pl.gabinetynagodziny.officesforrent.repository.DetailRepository; import pl.gabinetynagodziny.officesforrent.service.DetailService; import java.util....
/* * Copyright (c) 2021. Alpha Coders */ package com.abhishek.Videogy.adapter; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import android.widget.LinearLayout; import android.widget.TextView; import an...
package com.wizhuo.qrcode.util; import com.google.zxing.common.BitMatrix; import com.wizhuo.qrcode.factory.QrCodeFactory; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import javax.imageio.ImageIO; import java.awt.image.BufferedImage; import java.io.File; import java.io.FileInput...
import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; public class user { private String UserName; private String Email; private String Password; private String PhnNum; private String Gender; private String trainName; private String trainTime; private String fromStation;...
package thsst.calvis.simulatorvisualizer.animation.instruction.gp; import thsst.calvis.configuration.model.engine.Memory; import thsst.calvis.configuration.model.engine.RegisterList; import thsst.calvis.configuration.model.engine.Token; import javafx.animation.Interpolator; import javafx.animation.TranslateTransition;...
package com.tencent.mm.protocal.c; import f.a.a.c.a; import java.util.LinkedList; public final class bhe extends bhd { public String lMV; public String muA; public String muB; public int mun; public String ref; public int shY; public String shZ; public int sia; public int sib; ...
package com.deltastuido.payment.port.wepay.api.model; import com.deltastuido.payment.port.wepay.api.WepayResponse; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlRootElement; import java.io.Serializable; /** * @author */ @XmlRoo...
/* * 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 AAPA.Entity; import java.util.Date; import java.util.Timer; import javax.persistence.Entity; import javax.persistence.Generate...
package io.github.luanelioliveira.library.repository; import io.github.luanelioliveira.library.model.Book; import java.util.List; import java.util.Optional; public interface BookRepository { Book save(Book book); Optional<Book> getByIsbn(String isbn); List<Book> findAll(); }
package rent.api.service; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import rent.common.entity.SystemPropertyEntity; import rent.common.enums.SystemPropertyType; import rent.common.repository.SystemPropertyRepository; @Service public class SystemPrope...
package gof.decorator.example; import java.io.*; public class LowerCaseInputStream extends FileInputStream { // ORIGINAL CODE - doesn't compile - so the default constructor will be placed /*public LowerCaseInputStream(InputStream in) { super(in); }*/ // IMPORTSNT - this constructor is just ...
package com.haibo.service; import com.haibo.pojo.User; /** * Created with IDEA. * User:haibo. * DATE:2018/4/12/012 */ public interface UserService { //用户登录 public User checkLogin(String s_name, String s_password ); //用户注册 public User addUser(User user); }
package pms.dao; import java.util.ArrayList; import org.springframework.stereotype.Repository; import pms.dto.Log; @Repository public interface LogDao { public void taskIns(Log log); public ArrayList<Log> taskLog(int no); // 태스크 추가 public ArrayList<Log> reqLog(int no); // 태스크 완료 승인요청 public ArrayLi...
package com.goodhealth.algorithm.Date; import java.time.Duration; import java.time.Instant; import java.time.LocalDate; import java.util.concurrent.TimeUnit; public class NewDateAPI { public static void main(String[] args){ Instant start = Instant.now(); System.out.println(start); try { ...
package com.tencent.mm.g.a; public final class ew$b { public int bMG = 0; public int bMH = 0; public String bMI; }
/** * @Copyright coppermobile pvt. ltd. 2014 * **/ package com.atn.app.fragments; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.app.DialogFragment; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.support.v4.app.Fr...
package com.studio.saradey.aplicationvk.model.countable; /** * @author jtgn on 14.08.2018 */ public interface Countable { int getCount(); }
public class Operation { private String typeAccount; private String accountNumber; private String currency; private String date; private String reference; private String specificationOperation; private double deposit; private double expense; public Operation(String typeAccount, St...
package com.example.libroapp; import android.content.res.Resources; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.AdapterView; import android.widget.EditText; import android.widget.ListView; import androidx.fragment.app.Fra...
package com.commercetools.sunrise.shoppingcart.common; public class PrimaryCartNotFoundException extends RuntimeException { }
package Dessert; /** * Created by Jared Ramirez on 4/4/2015. * Byte-Pushers */ public class Cake implements Dessert { public String getName(){ return "Yummy Cake"; } }
package com.ci.api.block; import net.minecraft.block.properties.PropertyInteger; import net.minecraft.block.state.BlockStateContainer; import net.minecraft.block.state.IBlockState; import net.minecraft.entity.EntityLivingBase; import net.minecraft.util.EnumFacing; import net.minecraft.util.math.BlockPos; impor...
/* * Power by www.xiaoi.com */ package com.zokee.servlet; import java.io.IOException; import java.io.InputStream; import java.net.URLDecoder; import java.net.URLEncoder; import java.util.List; import javax.servlet.RequestDispatcher; import javax.servlet.ServletException; import javax.servlet.ServletOutputStream; im...
package com.blackvelvet.cybos.bridge.cputil ; import com4j.*; /** */ public enum CPE_LAC_KIND implements ComEnum { /** * <p> * 구분없음 * </p> * <p> * The value of this constant is 0 * </p> */ CPC_LAC_NORMAL(0), /** * <p> * 권리락 * </p> * <p> * The value of this constant is 1 ...
package br.com.engenharia; public class Pilar { }
package com.tencent.mm.plugin.j.c; import com.tencent.mm.plugin.j.b; import com.tencent.mm.sdk.platformtools.x; import com.tencent.mm.storage.bd; public final class a implements Runnable { private bd bGS; private int opType; public a(bd bdVar, int i) { this.bGS = bdVar; this.opType = i; ...
package com.test.demo; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; @Service public class StudentService implements IStudentService { @Autowired private StudentDao dao; @Override public void save(List<Student> students) { ...
package com.tencent.pb.common.b.a; import com.google.a.a.b; import com.google.a.a.e; import com.tencent.pb.common.b.a.a.at; public final class a$ac extends e { public String groupId; public at vcK; public int ven; public a$ac() { this.groupId = ""; this.vcK = null; this.ven = ...
package org.inftel.socialwind.client.web.mvp.activities; import java.util.List; import org.inftel.socialwind.client.web.Location; import org.inftel.socialwind.client.web.Utilidades; import org.inftel.socialwind.client.web.mvp.ClientFactory; import org.inftel.socialwind.client.web.mvp.event.AppBusyEvent; import org.in...
package cn.com.zjol.userhome.fragment; import android.arch.lifecycle.Observer; import android.arch.lifecycle.ViewModelProviders; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.support.v7.widget.Line...
package com.elvis.domain; import java.util.Date; public class Reservation { private String id; private String roomid; private String userid; private Date createtime; private Date checkintime; private Date checkouttime; private String finalcost; private String roomprice; ...
import java.io.File; import java.util.Scanner; class Print { public static void main(String[] args) throws Exception { File file = new File("C:\\Users\\hp\\Desktop\\abc.txt"); Scanner sc = new Scanner(file); while (sc.hasNextLine()) System.out.println(sc.nextLine()); } ...
/* * Copyright 2019 Adrian Reimer * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
package com.selfridges.pages; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.support.FindBy; import org.openqa.selenium.support.PageFactory; import com.selfridges.util.Constants; public class HomePage { private WebDriver driver; public HomePage...
package com.ververica.platform.entities; import java.lang.reflect.Type; import java.time.LocalDateTime; import java.util.HashMap; import java.util.Map; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; import org.apache.flink.api.common.typeinfo.TypeInfo; imp...
/** * ReservationInfoPriceServiceImpl.java $version 2018. 8. 14. * * Copyright 2018 NAVER Corp. All rights Reserved. * NAVER PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */ package com.nts.pjt3.service.impl; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; impor...
package com.netflix.ndbench.plugins.janusgraph.configs.cql; import com.netflix.archaius.api.annotations.Configuration; import com.netflix.archaius.api.annotations.DefaultValue; /** * Specific configs for JanusGraph's CQL backend * @author pencal */ @Configuration(prefix = "ndbench.config.janusgraph.storage.cql") p...
package com.myprojects.snake; import javax.swing.*; import java.awt.*; public class Game extends JFrame { public static void main(String[] args) { EventQueue.invokeLater(() -> { var gameFrame = new GameFrame(); gameFrame.setVisible(true); }); } }
package ive.dsa.solitaire; import ive.dsa.linklist.LinkedList; /** * It is an interface for tripleCut. * * @author POON Ngai Kuen (180091780) * @version 1.0 */ public interface InterTripleCut { void tripleCut(); }
package Manufacturing.ProductLine.AbstractCanFactory; import Manufacturing.CanEntity.Can; /** * 罐头抽象工厂 * 抽象工厂模式、单例模式 * @author 汪明杰 */ public abstract class AbstractCanFactory { /** * 创建大罐头 * @return Can 罐头 */ public abstract Can createBigCan(String type); /** * 创建小罐头 * @re...
package stereo_camera_examples; import java.awt.BasicStroke; import java.awt.Graphics2D; import java.awt.image.BufferedImage; import java.util.ArrayList; import boofcv.abst.feature.detect.interest.ConfigFastHessian; import boofcv.abst.feature.detect.interest.InterestPointDetector; import boofcv.alg.distort.PixelToNor...
package demo; // 假设你是一位很有爱的幼儿园老师,想要给幼儿园的小朋友们一些小糖果。但是,每个孩子最多只能给一块糖果。对每个孩子 i ,都有一个胃口值 gi ,这是能让孩子们满足胃口的糖果的最小尺寸;并且每块糖果 j ,都有一个尺寸 sj 。如果 sj >= gi ,我们可以将这个糖果 j 分配给孩子 i ,这个孩子会得到满足。你的目标是尽可能满足越多数量的孩子,并输出这个最大数值。 // 注意: // 你可以假设胃口值为正。 // 一个小朋友最多只能拥有一块糖果。 import java.util.ArrayList; import java.ut...
package aufgabe01; import java.util.Scanner; public class Auf03 { public static void main(String[] args) { // Scanner scan = new Scanner(System.in); System.out.println("lütfen gün giriniz"); String day = scan.nextLine(); if(day.equalsIgnoreCase("cuma") ) { //egualsIgnoreCase() büyük kücük harf di...
/* * created 02.08.2005 by sell * * $Id: Messages.java 90 2006-01-06 19:11:33Z csell $ */ package com.byterefinery.rmbench.database.mysql; import org.eclipse.osgi.util.NLS; /** * translatable strings for dialogs * * @author sell */ public class Messages extends com.byterefinery.rmbench.databa...
package fr.lteconsulting.formations.server.dao; import java.util.List; import javax.ejb.Stateless; import javax.persistence.EntityManager; import javax.persistence.PersistenceContext; import fr.lteconsulting.formations.model.Collaborateur; @Stateless public class CollaborateursDao { @PersistenceContext( name = "fo...
package lab4Zad1; import java.util.Scanner; public class Main { public static void main(String[] args) { CaesarCipher.encrypt("TOY"); CaesarCipher.decrypt("WRB"); Scanner input = new Scanner(System.in); int choice; while (true) { do { System.ou...
package mm; import lombok.Getter; import lombok.Setter; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; @Getter @Setter public class ShoppingBasket { Map<Book, Integer> basket = new HashMap<>(); /** * @param book - book to be added ...
package com.solomon.domain; import javax.persistence.Entity; import javax.persistence.Table; import java.util.Date; /** * Created by xuehaipeng on 2017/8/2. */ public class QuestionForPost { private Long id; private String title; // 标题 private String keyword; // 关键词 private Long menuId; // 最低一级栏...
package com.tencent.mm.plugin.ext.provider; import com.tencent.mm.sdk.platformtools.al.a; class ExtControlProviderSNS$1 implements a { ExtControlProviderSNS$1() { } public final boolean vD() { ExtControlProviderSNS.Ju(); return false; } }
package org.newdawn.slick.gui; import org.lwjgl.Sys; import org.newdawn.slick.Color; import org.newdawn.slick.Font; import org.newdawn.slick.Graphics; import org.newdawn.slick.geom.Rectangle; public class TextField extends AbstractComponent { private static final int INITIAL_KEY_REPEAT_INTERVAL = 400; private ...
package A.p5; /** * @author Deep-Feeling-1999 * @create 2020/10/10 */ public interface IShape { int surfaceArea(); int volume(); String getName(); }
package com.example.deverajan.androidexcercise; import android.content.Context; import android.content.res.Configuration; import android.net.ConnectivityManager; import android.support.v4.widget.SwipeRefreshLayout; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.support.v7.wid...
package br.org.funcate.glue.model.toolbar; /** * This Enumeration represents all tools of GLUE application. * * @author Moraes, Emerson Leite. * */ public enum ToolEnum { TERRALIB("TerraLib"), GOOGLE("Google"), WMS("WMS"), PAINT("Paint"), REBUILD("Rebuild"), ZOOMIN("ZoomIn"), ZOOMOUT("ZoomOut"), ZOOMAREA( ...
package zystudio.cases.javabase; import java.util.Date; import java.util.Timer; import java.util.TimerTask; import zystudio.mylib.utils.LogUtil; /** * * Timer与TimerTask虽然刚会用,但是文档上已经推荐用ScheduledThreadPoolExecutor了 * */ public class CaseTimerAndTimerTask { private static CaseTimerAndTimerTask sCase; public...
package com.ryx.bank.http.server; import io.netty.bootstrap.ServerBootstrap; import io.netty.buffer.PooledByteBufAllocator; import io.netty.channel.ChannelFuture; import io.netty.channel.ChannelOption; import io.netty.channel.EventLoopGroup; import io.netty.channel.nio.NioEventLoopGroup; import io.netty.channel.socket...
package lp2.testes; import java.util.ArrayList; import java.util.List; import junit.framework.Assert; import lp2.lerDados.Usuario; import org.junit.Before; import org.junit.Test; /** * * @author Flavia Gangorra<br> * Irvile Rodrigues Lavor<br> * Jordao Ezequiel Serafim de Araujo<br> * */ publi...
package Validaciones; import javax.swing.*; public class ValidacionesUsuarios { public static boolean validaUsuarios(String nom, JTextField text){ if (nom.equals("") || !nom.matches("^[A-Za-zñÑ0-9]{5,10}$")) { pintarRojo(text); return true; }else{ ...
package com.example.sleeplearning; import android.Manifest; import android.app.Activity; import android.app.Dialog; import android.app.ProgressDialog; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.media.AudioManager; import android.media.MediaPlay...
/** * 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.business.impl.scheduler; import javax.persistence.EntityManager; import seava.ad.business.api.scheduler.IQuartzBlobTriggerServic...
/* * StreamedInput.java * * Created on July 10, 2003, 8:11 PM */ package com.espendwise.manta.loader; import java.util.List; /** * Implementing Classes for dealing with binary files (excel, pdf etc). * @author deping */ public interface IInputStreamParser { /** *Gets called once for each line of text in...
package collection.bstAVL; import tree.TreeNode; import java.util.ArrayList; import java.util.Iterator; /** * leetcode 173.Binary Search Tree Iterator * https://leetcode.com/problems/binary-search-tree-iterator/description/ * @param <T> */ public class BSTIterator<T> { private Iterator<T> itr; public BS...
package com.hesoyam.pharmacy.integration.feedback; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.ObjectWriter; import com.fasterxml.jackson.databind.SerializationFeature; import com.hesoyam.pharmacy.feedback.dto.Empl...
import tester.Tester; // to represent an ancestor tree interface IAT { // counts the amount of people in this ancestor's trees int count(); } // to represent an unknown member of an ancestor tree class Unknown implements IAT { Unknown() { } // counts the amount of people in this unknown trees public int ...
package com.penzias.entity; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; public class SmModular { // 程序模块编码 @Expose private Integer id; // 上级模块编码 @Expose private Integer parentId; // 名称 @Expose @SerializedName("name") private String modul...
package com.niubimq.service; import java.util.List; import com.niubimq.pojo.Producer; /** * @Description: 生产者信息管理 * @author junjin4838 * @version 1.0 */ public interface PCManageService { /** * 查询生产者信息 * @param producerSign * @return List */ public List<Producer> showProducer(String producerSign); ...
package enthu_l; public class e_1074 { public static void main(String[] args){ new e_1074().sayHello(); } //1 public static void sayHello(){ System.out.println("Static Hello World"); } //2 public void sayHello() { System.out.println("Hello World "); } //3 }
package com.example.dev.activity; import android.content.Intent; import android.os.Bundle; import android.support.v4.app.ActivityCompat; import android.support.v4.app.ActivityOptionsCompat; import android.support.v4.util.Pair; import android.view.View; import android.widget.Button; import com.base.adev.activity.BaseA...
package com.tbt.testapi.main; public class Options { public String type = null; public String name = null; public String configPath = "config/"; public boolean debug = true; }
package tiny1.asint; import java.util.Map; public class TinyASint { public static abstract class ASTNode { private int etqi; private int etqs; public int etqi() {return etqi;} public int etqs() {return etqs;} public void setEtqi(int etqi) {this.etqi = etqi;} public void se...
package com.media2359.mediacorpspellinggame.data; /** * Created by xijunli on 13/2/17. */ public class Result { private int id; private int questionId; private String theAnswer; private int score; private int timeTaken; public Result(Builder builder) { this.id = builder.id; ...
package com.tencent.mm.plugin.appbrand.jsapi; import com.tencent.mm.plugin.appbrand.page.p; class bc$1 implements Runnable { final /* synthetic */ p fGY; final /* synthetic */ long fGZ; final /* synthetic */ bc fHa; bc$1(bc bcVar, p pVar, long j) { this.fHa = bcVar; this.fGY = pVar; ...
/* * Copyright 2016-present Open Networking Laboratory * * 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 appli...
package com.ace.easyteacher.Adapter; import android.content.Context; import android.net.Uri; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import com.ace.easyteacher.DataBase.StudentInfo; impo...