text stringlengths 10 2.72M |
|---|
package yuste.zombis.mde;
public interface EstadoJuego {
void actualizar();
void dibujar();
void procesarClick(int boton, float x, float y);
void procesarMensajeRed(String mensaje);
}
|
package com.yunhe.basicdata.service;
import com.yunhe.basicdata.entity.WarehouseManagement;
import com.baomidou.mybatisplus.extension.service.IService;
import java.util.List;
import java.util.Map;
/**
* <p>
* 仓库管理 服务类
* </p>
*
* @author 李恒逵, 唐凯宽
* @since 2019-01-02
*/
public interface IWarehouseManagementServ... |
package com.codingblocks.permissions;
import androidx.annotation.RequiresApi;
import androidx.appcompat.app.AppCompatActivity;
import androidx.core.app.ActivityCompat;
import androidx.core.content.ContextCompat;
import android.Manifest;
import android.content.Intent;
import android.content.pm.PackageManager;
import a... |
package webstoreselenium.qa.pages;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
import org.openqa.selenium.support.PageFactory;
import webstoreselenium.qa.base.TestBase;
import webstoreselenium.qa.utils.TestUtil;
public class ProductsZTM extends TestBase {
public ProductsZTM(){... |
package com.anexa.livechat.service.impl.odoo;
public class SessionConnectionRefusedException extends RuntimeException {
private static final long serialVersionUID = 1L;
}
|
public class BinaryToDecimal {
public static int findDecimal(long num){
int ans = 0,count = 0;
while(num!=0){
ans += ((num%10)*Math.pow(2, count));
num = num/10;
count++;
}
return ans;
}
public static void main(String[] args) {
System.out.println(findDecimal(100001l));
}
}
|
package com.isystk.sample.web.admin.api.v1.upload;
import com.isystk.sample.common.dto.Dto;
import lombok.Getter;
import lombok.Setter;
@Setter
@Getter
public class UploadRestDto implements Dto {
Integer imageId;
Integer imagePath;
}
|
package de.adesso.gitstalker;
import de.adesso.gitstalker.core.REST.OrganizationController;
import de.adesso.gitstalker.core.Tasks.OrganizationUpdateTask;
import de.adesso.gitstalker.core.Tasks.RequestProcessorTask;
import de.adesso.gitstalker.core.Tasks.ResponseProcessorTask;
import org.springframework.beans.factory.... |
package by.dt.boaopromtorg.service.impl;
import by.dt.boaopromtorg.entity.Price;
import by.dt.boaopromtorg.entity.Product;
import by.dt.boaopromtorg.entity.dto.PriceDTO;
import by.dt.boaopromtorg.entity.dto.ProductSearchDTO;
import by.dt.boaopromtorg.repository.ProductRepository;
import by.dt.boaopromtorg.service.Prod... |
package javadatastructures;
import java.util.ArrayList;
/**
*
* @author Raul Farkas
*/
public class HashTableConcatenation<E> {
ArrayList<HashTableNode>[] list;
public HashTableConcatenation() {
list = new ArrayList[100];
}
public HashTableConcatenation(int i) {
list = new ArrayL... |
package com.jiuzhe.app.hotel.dto;
/**
* @Descript;展示给清洁工看的信息
*/
public class CleanDto {
//门店id
private String storeId;
//门店名称
private String storeName;
//房间id
private String skuId;
//房间名称
private String skuName;
//房号
private String roomNo;
//地址
private String address;
... |
package com.fleet.reactor.controller;
import com.fleet.reactor.entity.User;
import com.fleet.reactor.service.UserService;
import org.springframework.web.bind.annotation.*;
import reactor.core.Reactor;
import reactor.core.publisher.Flux;
import reactor.core.publisher.Mono;
import reactor.event.Event;
import javax.anno... |
package com.example.demo.service.impl;
import com.example.demo.exception.ResourceNotFoundException;
import com.example.demo.model.Question;
import com.example.demo.repository.QuestionRepository;
import com.example.demo.service.QuestionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.s... |
package com.miaosha.demo.validator;
import lombok.Data;
import org.apache.commons.lang3.StringUtils;
import java.util.HashMap;
import java.util.Map;
/**
* @Classname ValidationResult
* @Description TODO
* @Date 2019/10/22 14:21
* @Author gt
*/
@Data
public class ValidationResult {
// 校验结果是否有错
private bo... |
package com.tencent.mm.ui.contact;
import android.content.Context;
import android.content.res.ColorStateList;
import android.database.Cursor;
import android.support.v4.app.Fragment;
import android.util.SparseArray;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.ViewGroup;
impor... |
package tachyon.client;
import java.io.InputStream;
import java.io.IOException;
/**
* <code>InStream</code> is the base input stream class for TachyonFile streaming input methods. It
* can only be gotten by calling the methods in <code>tachyon.client.TachyonFile</code>, but can not
* be initialized by the client c... |
package lesson25.Ex5;
import java.util.Date;
public class Manager extends Employee{
private Date startTerm; //băt đầu nhiệm kỳ
private Date endTerm; //kết thúc nhiệm kỳ
public Manager(String idEmp, String position, float basicWages, float experience,
int dayInTheMonth, float bonus, ... |
/*
* Copyright (c) 2011-2016 Pivotal Software Inc, All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unles... |
package com.rex.demo.study.demo.entity;
import lombok.Data;
/**
* stock 实体类
*
* @Author li zhiqang
* @create 2020/11/24
*/
@Data
public class StockEntity {
private String accountingMl;
private String manufacturerName;
private String customerEnableCode;
private Integer ownerId;
private String... |
package com.james.pojo;
import lombok.Data;
@Data
public class Category {
private int cid;
private String cname;
}
|
package com.jlgproject.view;
import android.content.Context;
import android.util.AttributeSet;
import android.view.LayoutInflater;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;
import com.bumptech.glide.Glide;
import com.jlgproject.R;
/**
* @author 王锋 on 2017/9... |
package com.stem.entity;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
public class UserApproveExample {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
public UserApproveExample() {
oredCriteria = new ArrayList<... |
package it.cinema.multisala;
/**
* Classe <code>Recensione</code> contiene tutte le informazioni
* relative alle recensioni dei film realizzate dei clienti.
*
* @version 1.00 08 Gen 2018
* @author Matteo Borghese
*
*/
public class Recensione {
/** Id della recensione */
private int idRecensione;
/** Vot... |
package me.luliru.gateway.core.process;
import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.SimpleChannelInboundHandler;
import io.netty.handler.codec.http.FullHttpRequest;
import io.netty.handler.codec.http.HttpUtil;
import lombok.extern.slf4j.Slf4j;
import me.luliru.gateway.core.RequestContext;
im... |
import java.io.IOException;
import java.util.Scanner;
/*
* Another class to trade with. feel free to move the main.
*/
public class Trader {
public static void main(String [] args) throws IOException
{
System.out.println("Enter the Ticker:");
Scanner sc = new Scanner(System.in);
Stock stock = new Stock(sc.n... |
package com.jmeter.plugin.util;
import com.alibaba.dubbo.common.Constants;
import com.alibaba.dubbo.common.URL;
import com.alibaba.dubbo.config.ApplicationConfig;
import com.alibaba.dubbo.config.ReferenceConfig;
import com.alibaba.dubbo.config.RegistryConfig;
import com.alibaba.dubbo.config.utils.ReferenceConfigCache;... |
package reference_test;
import com.fasterxml.jackson.databind.ObjectMapper;
import java.io.IOException;
import java.util.HashMap;
import java.util.WeakHashMap;
/**
* Description:
*
* @author Baltan
* @date 2018/5/3 22:29
*/
public class Test3 {
public static void main(String[] args) throws IOException {
... |
package exer;
import java.util.HashMap;
public class MethodTest1 {
static HashMap<Integer,Long> map = new HashMap<>();
public static void main(String[] args) {
long start = System.nanoTime();
long i = Method(6);
long end = System.nanoTime();
System.out.println(i);
System.out.println(end - st... |
package com.action;
import com.dao.kqjlDao;
import com.entity.Attence;
import java.io.PrintStream;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
public class kqjlAction
{
private String reason;
private String time;
private String emname;
private String method;
pr... |
/*
* 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 twitteranalysis;
import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
i... |
import java.awt.*;
import java.awt.BorderLayout;
import java.awt.FlowLayout;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.KeyEvent;
import java.awt.event.KeyListener;
import javax.swing.*;
public class transactionPanel exte... |
/*
* 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 DTO;
/**
*
* @author ThinkPro
*/
public class dto_LichSuKH {
int MaLop;
String TenLop;
String TenCT;
Strin... |
import java.util.Scanner;
public class Solution {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int T = sc.nextInt();
int N, a[], prev, next, curr, peaks = 0;
for (int i = 0; i < T; i++) {
peaks = 0;
N = sc.nextInt();
... |
package org.corbin.common.base.constant;
/**
* 预设值
*/
public interface EntityPreset {
/**
* 性别
*/
enum Sex {
man("男", Preset.MAN),
woman("女", Preset.WOMEN),
secret("保密", Preset.UN_SEX);
String sex;
Integer sexEncoding;
Sex(String sex, Integer s... |
package br.usp.memoriavirtual.utils;
import java.io.File;
import java.io.IOException;
import java.nio.charset.Charset;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.Iterator;
import java.util.Map;
import java.util.Map.Entry;
import javax.faces.context.FacesContext;
import javax.servlet.Serv... |
package jmda.app.xstaffr.common.domain.extended;
enum SearchRequestState
{
/** {@link SearchRequest} received from {@link Requester} by external staffing */
OPEN,
/** {@link SearchRequest} solved successfully */
CLOSED_SOLVED,
/** {@link SearchRequest} closed without success */
CLOSED_UNSOLVED;
} |
package org.libreoffice;
import android.content.Context;
import android.view.View;
import android.widget.EditText;
import android.widget.ImageButton;
import org.json.JSONException;
import org.json.JSONObject;
public class SearchController/* implements View.OnClickListener*/ {
// private LibreOfficeMainActivity mA... |
package com.mc.mimo.moviechallenge.api;
import com.mc.mimo.moviechallenge.pojo.moviedetails.Movie;
import com.mc.mimo.moviechallenge.pojo.movielist.MovieList;
import com.mc.mimo.moviechallenge.pojo.search.Search;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Path;
import retrofit2.http.Query... |
package com.atn.app.webservices;
public interface AtnVenueShareWebserviceListener
{
public void onSuccess(String message);
public void onFailed(int errorCode, String errorMessage);
}
|
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.esotericsoftware.kryonet.Connection;
import com.esotericsoftware.kryonet.Listener;
import com.esotericsoftware.kryonet.Server;
import java.io.IOException;
public class LoggerServer extends Listener {
private static Logger logger = LoggerFactory... |
package com.example.ted.geetestdemo;
import android.os.Handler;
import android.os.Message;
import org.json.JSONException;
import org.json.JSONObject;
import java.util.HashMap;
import java.util.Map;
public class CheckRunnable implements Runnable {
private String phone;
private String challenge;
private H... |
package org.meizhuo.rpc.zksupport.LoadBalance;
import io.netty.channel.ChannelHandlerContext;
import org.apache.zookeeper.ZooKeeper;
import org.meizhuo.rpc.Exception.ProvidersNoFoundException;
import org.meizhuo.rpc.zksupport.service.ZnodeType;
import java.util.List;
/**
* Created by wephone on 18-1-8.
* 负载均衡策略抽象接... |
/*
Author: <<author name redacted >>
Title: ProgrammingAssignment 2
Purpose: The purpose of this assignment is to create a counter in which counts all operations, declarations and branches
in order for Sortable() to sort the given Table.
*/
public class TableSorter {
public static int operationCount = 0; //vari... |
package com.example.firstapp;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.AdapterView;
import android.widget.ArrayAdapter;
import android.widget.Button;
import android.widget.Spinner;
import android.widget.To... |
/*
* 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 entities;
import entities.query.FlexQuerySpecification;
import java.util.ArrayList;
import java.util.List;
import javax.persis... |
package com.mahadihasan.mc.patient;
import java.util.Date;
/**
*
* @author MAHADI HASAN NAHID
*/
public class Patient {
//---------------Fields--------
private String id;
private String name;
private String bloodGroup;
private String sex;
private String height;
private String email;
... |
package lildoop.mapReduce.service;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import org.json.JSONObject;
import lildoop.mapReduce.enums.Function;
import lildoop.mapReduce.models.Query;
import lildoop.mapReduce.models.QueryResult;
public class Dispatcher {
private Query curren... |
package VSMSerialization;
import java.io.Serializable;
import no.uib.cipr.matrix.DenseVector;
public class VSMWordEmbeddingSem implements Serializable {
/**
*
*/
private static final long serialVersionUID = 2172651922100576452L;
private DenseVector wordEmbeddingSem;
public DenseVector getWordEmbeddingSem(... |
package com.pzc.app.photoweb.mapper;
import com.pzc.app.photoweb.model.Photo;
import java.util.List;
/**
* @author pengzc
* @deprecated 相册接口
*
*/
public interface PhotoMapper {
/**
* 查询所有相册
* @return
*/
List<Photo> selectAll();
void addPhoto(Photo photo);
}
|
package pe.gob.sunarp.controller;
import java.io.IOException;
import java.util.List;
import java.util.Map;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
imp... |
package Learn;
import java.sql.*;
public class JDBCExa {
public static void main(String[] args){
try {
Class c = Class.forName("com.mysql.cj.jdbc.Driver");
Connection con = DriverManager.getConnection("jdbc:mysql://localhost/product",
... |
/*
* 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 gdut.ff.domain;
import java.io.Serializable;
import java.util.Date;
/**
* 标签
* @author liuffei
* @date 2018-07-10
*
*/
public class Tag implements Serializable{
private static final long serialVersionUID = 1L;
//主键
private int id;
//标签的业务标识
private String tagId;
//标签名称
private String tagNa... |
package Estudiante.View;
import java.util.Scanner;
import Etudiante.entity.Estudiante;
import General.InputTypesUniversidad;
public class RegistroEstudiante {
public static Estudiante ingresarEstudiante(Scanner scanner)
{
int codigoEstudiante=InputTypesUniversidad.readInt("Ingrese su codigo de estudiante:", scan... |
package gitPackage;
public class GitDay2 {
public static void main(String[] args) {
System.out.println(" Future is soon and perfect");
System.out.println(" Hello git users");
System.out.println("Check if your local is ahead of origine master");
System.out.println(" Commit 7");
}
}
|
package com.goldgov.gtiles.core.module;
import java.io.Serializable;
import java.util.LinkedHashMap;
import org.springframework.util.Assert;
import com.goldgov.gtiles.core.module.infofield.DependencyModule;
/**
* 模块对象
* @author LiuHG
* @version 1.0
*/
public class Module implements Serializable{... |
package modelo;
public class Neognato extends Neornithe{
private Galloanserae galloanserae;
private Neoave neoave;
protected int numeroHuesosEnPatas;
protected double longitudTercerDedo;
public Neognato(String col, double alt, double pes, double longC, double densO, char ranM, int numHEP, double longTD){
... |
package com.employeemanagement.controller;
import com.employeemanagement.entity.EmployeeEntity;
import com.employeemanagement.service.EmployeeService;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.validation.Bi... |
package ninja.farhood.exercises;
public class Ex1pattern {
public static void main(String[] args) {
System.out.println(" J A V V A");
System.out.println(" J A A V V A A");
System.out.println("J J AAAAA V V AAAAA");
System.out.println(" J J A A V A ... |
package com.bookstore.repository;
import com.bookstore.domain.UserShipping;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
@Repository
public interface UserShippingRepository extends JpaRepository<UserShipping, Long> {
}
|
package com.zhouyi.business.core.model;
import java.io.Serializable;
import java.util.Date;
public class TestNameInfo implements Serializable {
private static final long serialVersionUID = 1L;
private Long id;
private String familyName;
private String birthday;
private Integer sex;
private S... |
package com.tencent.mm.compatible.util;
public interface b$a {
void ex(int i);
}
|
package com.tencent.mm.protocal;
import com.tencent.mm.protocal.c.g;
public class c$ip extends g {
public c$ip() {
super("showMenuItems", "showMenuItems", 86, false);
}
}
|
import javafx.application.Application;
import javafx.stage.Stage;
/**
* Created by Александр on 18.09.2017.
*/
public class StratAdmin extends Application {
@Override
public void start(Stage primaryStage) throws Exception {
System.out.println("SVVVDFB");
}
public static void main(S... |
package controller.controller;
import controller.datamapper.EigenaarDataMapper;
import controller.dtos.EigenaarDTO;
import domain.Eigenaar;
import exceptions.eigenexcepties.OnjuistWachtwoordExceptie;
import javax.inject.Inject;
import javax.ws.rs.Consumes;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import java... |
package hr.mealpler.client.adapters;
import hr.mealpler.client.activities.R;
import hr.mealpler.client.activities.R.id;
import android.content.Context;
import android.graphics.Color;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter... |
package misc;
import java.awt.Panel;
import java.awt.datatransfer.DataFlavor;
import javax.swing.JPanel;
import main.Card;
public class PanelDataFlavor extends DataFlavor {
public static final PanelDataFlavor SHARED_INSTANCE = new PanelDataFlavor();
public PanelDataFlavor() {
super(JPanel.class, null);
}
... |
package com.smxknife.springboot.v2.jpa.domain.one_to_many_single;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.OneToMany;
import java.util.ArrayList;
import java.util.List;
/**
* @author smxknife
* 2019-02-21
*/
@Entity
public class Department1 {
@Id
long id;
@OneToMa... |
package unico;
abstract class Terrestre implements IMotorizzati,INonMotorizzati{
public void Spostamento() {
// TODO Auto-generated method stub
System.out.println("il mezzo di trasporto terrestre si muove");
}
}
|
/**
* Copyright (C) 2015 Zalando SE (http://tech.zalando.com)
*
* 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 requir... |
package rog.bookstore.menu;
import java.io.Serializable;
import javax.enterprise.context.SessionScoped;
import javax.faces.bean.ManagedBean;
@ManagedBean(name="menuBean")
@SessionScoped
public class MenuBean implements Serializable{
}
|
package by.it.example.openweathermap;
import by.it.example.beans.Weather;
import org.junit.Test;
import static org.junit.Assert.*;
public class WeatherServiceGoodTest {
@Test
public void getWeather() {
WeatherClient client = Mocks.createMock(Data.CITY, Data.TEMPERATURE);
WeatherService serv... |
package com.mindtree.service;
import java.util.ArrayList;
import com.mindtree.entity.Product;
public interface SellerServiceInterface {
public String insertProduct(Product product);
public ArrayList<Product> retrieveProductDetails();
public String deleteProduct(int productId);
public String updateProductDetails(... |
package com.tencent.mm.ui.base;
public interface MMRadioGroupView$b {
}
|
package GUI;
import Estruturas.PalavraFactory;
import Estruturas.Hashing.TabelaHash;
import Estruturas.Trie.ASCII_Trie;
import FuncoesHash.FuncaoHashingFactory;
import java.beans.PropertyChangeEvent;
import java.beans.PropertyChangeListener;
import java.io.File;
import javax.swing.JFileChooser;
import javax.swing.Swin... |
package sample;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.fxml.Initializable;
import javafx.scene.Node;
import javafx.scene.control.Button;
import javafx.scene.control.Label;
import javafx.scene.control.TextField;
import javafx.scene.input.DragEvent;
import javafx.scene.input.TransferMode... |
package kr.ko.nexmain.server.MissingU.config.dao;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import kr.ko.nexmain.server.MissingU.common.model.CommReqVO;
import kr.ko.nexmain.server.MissingU.config.model.GetNoticeReqVO;
import kr.ko.nexmain.server.MissingU.config.model.GetUserGuideReqVO;
i... |
package programmers.lv1;
import java.util.Arrays;
public class Budget_Test {
//예산 문제
//Arrays.sort로 정렬시키고 합쳤다.
public int solution(int[] d, int budget) {
Arrays.sort(d);
int sum = 0;
int answer = 0;
for(int i = 0; i<d.length;i++){
sum += d[i];
if(sum... |
package com.vilio.bps.commonMapper.dao;
import java.util.List;
import java.util.Map;
import com.vilio.bps.commonMapper.pojo.BpsCompanyCity;
/**
* @实体名称 估价公司与城市关联表
* @数据库表 BPS_COMPANY_CITY
* @开发日期 2017-06-12
* @技术服务 www.fwjava.com
*/
public interface IBpsCompanyCityMapper {
/**
* 1.新增一条数据
* 注: 根据B... |
package com.maven.jdbc;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
@SpringBootApplication
@ComponentScan("com.maven.jdbc.dao")
public class BootApplicationMain {
public static... |
package com.commercetools.pspadapter.payone;
import com.commercetools.payments.TransactionStateResolver;
import com.commercetools.payments.TransactionStateResolverImpl;
import com.commercetools.pspadapter.payone.domain.ctp.PaymentWithCartLike;
import com.commercetools.pspadapter.payone.domain.ctp.paymentmethods.Paymen... |
package com.example.localdatatimedemo.configuration;
import com.google.gson.Gson;
import com.google.gson.TypeAdapter;
import com.google.gson.TypeAdapterFactory;
import com.google.gson.reflect.TypeToken;
/**
* Description TODO
*
* @author Roye.L
* @date 2019/4/9 0:04
* @since 1.0
*/
public class ChungeAdapter im... |
package com.rc.portal.dao.impl;
import java.sql.SQLException;
import java.util.List;
import com.ibatis.sqlmap.client.SqlMapClient;
import com.rc.app.framework.webapp.model.page.PageManager;
import com.rc.app.framework.webapp.model.page.PageWraper;
import com.rc.portal.dao.TShortBuyDAO;
import com.rc.portal.vo.TShortB... |
package br.uff.ic.provmonitor.model;
import java.util.Date;
/**
* Represents the execution info of elements
* */
public class ExecutionStatus {
private String elementId;
private String elementType;
private String status;
private Date startTime;
private Date endTime;
private String elementPath;
private Stri... |
/*
* [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... |
module feb {
} |
/*
* Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... |
package com.sunshine.eloqnt.sunshine.activities;
import android.os.Bundle;
import android.view.Menu;
import com.sunshine.eloqnt.sunshine.fragments.ForecastFragment;
import com.sunshine.eloqnt.sunshine.R;
/**
* Created by Daniel on 1/10/2016.
*/
public class ForecastActivity extends MainActivity {
@Override
... |
package ru.Makivay.sandbox.searcher;
import javax.annotation.Nullable;
/**
* Created by makivay on 14.02.17.
*/
public class LcsPath {
private final String text;
private final int startPosition;
private final int charLenght;
private final double prob;
private final double pathProb;
private f... |
package com.example.OCP.advancedClassDesing.nestedClasses.variablesInNestedClass;
/**
* Created by guille on 10/14/18.
*/
public class A {
private int x = 30;
private class B {
private int x = 20;
private class C {
private int x = 10;
public void getAllTheX(){
... |
package simulateur;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JPanel;
import fr.dgac.ivy.Ivy;
import fr.dgac.ivy.IvyException;
public class SimulateurSRA5 extends JFrame{
/**
*
*/
private static final ... |
//dto é um pacote/pasta chamado data transfer object que contem arquivos com get set e constructor
package dto;
//eu posso colocar extends Object ou não, pq Objeto é extendido de todas as classes
public class Item extends Object{
private int codigo;
private String titulo;
private String ano; // string de 4 digitos
... |
package com.elepy.annotations;
import com.elepy.auth.Permissions;
import com.elepy.handlers.CreateHandler;
import com.elepy.handlers.DefaultCreate;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* ... |
package com.example.myreadproject8.ui.adapter.bookcase;
import android.app.Activity;
import android.text.TextUtils;
import com.example.myreadproject8.Application.App;
import com.example.myreadproject8.Application.SysManager;
import com.example.myreadproject8.entity.SearchBookBean;
import com.example.myreadproject8.gr... |
package com.NewIO;
import java.io.IOException;
import java.nio.file.*;
public class File工具类 {
public static void main(String[] args) {
//
}
//文件的写入与读取
public void Read_and_WriteFile(){
Path path = Paths.get("D:","test","test","zhang.txt");
String str = "NIO is so good , and ... |
package demo.openaphid.list;
import java.util.ArrayList;
import java.util.List;
/*
Copyright 2012 Aphid Mobile
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/L... |
package udacity.project.lynsychin.popularmovies.model;
import com.google.gson.annotations.SerializedName;
import java.util.List;
public class TrailerDB {
Integer id;
@SerializedName("results")
List<Trailer> trailers;
public Integer getId() {
return id;
}
public void setId(Integer ... |
package com.takshine.wxcrm.controller;
import java.io.BufferedInputStream;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.Reader;
import java.net.HttpURLConnection;
import java.net.URL;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import javax.servlet.http... |
package com.libedi.demo.repository.order;
import org.springframework.data.jpa.repository.JpaRepository;
import com.libedi.demo.domain.order.Order;
/**
* OrderRepository
*
* @author Sang-jun, Park
* @since 2019. 09. 10
*/
public interface OrderRepository extends JpaRepository<Order, Long> {
}
|
package no.hiof.larseknu.varargs;
import java.time.LocalDate;
import java.util.ArrayList;
import java.util.Random;
public class Main {
public static void main(String[] args) {
// Kaller summer-metode med 2 argumenter
System.out.println(summer(5, 6));
// Kaller summer-metode med... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.