text stringlengths 10 2.72M |
|---|
package com.examples.io.heaps;
import java.util.ArrayList;
import java.util.List;
import java.util.PriorityQueue;
public class MergeKSortedLists {
public static void main(String[] args) {
Node head1 = new Node(1);
head1.next = new Node(3);
head1.next.next = new Node(5);
Node hea... |
package com.kuang.生产者消费者;
public class A {
public static void main(String[] args) {
Thing th=new Thing();
new Thread(()->{
for(int i=1;i<=500;i++) {
try {
th.decrement();
} catch (InterruptedException e) {
e.printSt... |
package sr.hakrinbank.intranet.api.dto;
/**
* Created by clint on 6/5/17.
*/
public class RelationshipAccountManagerDto extends RelationshipAccountBasisDto{
private Long businessAccountType;
private Long relationshipManager;
public Long getRelationshipManager() {
return relationshipManager;
... |
package notebook;
import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;
public class note {
static ArrayList<String> Title_list = new ArrayList<>();
static ArrayList<String> Content_list = new ArrayList<>();
static ArrayList<String> Status_list = new ArrayList<>();
public static void ma... |
package it.onyx.Login.util;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;
import javax.servlet.ServletContext;
public class StmtCreator {
//static Logger logger = Logger.getLogger(Factory_con... |
package com.cninnovatel.ev.db;
// THIS CODE IS GENERATED BY greenDAO, DO NOT EDIT. Enable "keep" sections if you want to edit.
/**
* Entity mapped to table "REST_CALL_ROW_".
*/
public class RestCallRow_ {
private Long id;
private String peerSipNum;
private Boolean isOutgoing;
private Boolean isVide... |
// Generated code from Butter Knife. Do not modify!
package com.zhicai.byteera.activity.product;
import android.view.View;
import butterknife.ButterKnife.Finder;
import butterknife.ButterKnife.ViewBinder;
public class ProductFragment$$ViewBinder<T extends com.zhicai.byteera.activity.product.ProductFragment> implement... |
package br.com.sergio.app.service;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import br.com.sergio.app.model.dao.GrupoContaDao;
@Service
public ... |
package program;
@SuppressWarnings("serial")
public class MainWindow extends javax.swing.JFrame {
public MainWindow() throws java.awt.HeadlessException {
super("My Program");
initGui();
}
private void initGui() {
javax.swing.JPanel contentPane = new javax.swing.JPanel();
contentPane.setLayout(new javax.s... |
package network.nerve.converter.rpc.cmd;
import io.nuls.base.RPCUtil;
import io.nuls.base.basic.AddressTool;
import io.nuls.base.basic.NulsByteBuffer;
import io.nuls.base.basic.TransactionFeeCalculator;
import io.nuls.base.data.CoinData;
import io.nuls.base.data.CoinFrom;
import io.nuls.base.data.CoinTo;
import io.nul... |
package com.chw.manager.servlet;
import java.util.LinkedHashMap;
import java.util.Map;
import javax.servlet.Filter;
import org.apache.shiro.authc.credential.HashedCredentialsMatcher;
import org.apache.shiro.realm.Realm;
import org.apache.shiro.spring.web.ShiroFilterFactoryBean;
import org.apache.shiro.web.mgt.Defaul... |
package net.kkolyan.elements.engine.core.templates;
import net.kkolyan.elements.engine.utils.Function;
/**
* @author nplekhanov
*/
public class IdentityFunction<T> implements Function<T,T> {
@Override
public T apply(T t) {
return t;
}
}
|
package com.example.demo.strategy2;
import com.example.demo.strategy2.Data;
@Data
public class MessageInfo {
private Integer type;
private String content;
public MessageInfo(Integer type, String content) {
super();
this.type = type;
this.content = content;
}
public Integer getType() {
return type;
}
... |
package com.beike.util.background;
import java.sql.Timestamp;
public class LogVo {
//log的id
public long log_id;
//log的记录时间,日志记录源的时间
public Timestamp log_time = new Timestamp(System.currentTimeMillis());
//log的级别:一般信息 0,重要信息 1,警告 2,错误3
public String loglevel;
//log的系统来源
public Strin... |
/* MultiCache.java
Purpose:
Description:
History:
Wed Aug 29 17:29:45 2007, Created by tomyeh
Copyright (C) 2007 Potix Corporation. All Rights Reserved.
{{IS_RIGHT
This program is distributed under LGPL Version 2.1 in the hope that
it will be useful, but WITHOUT ANY WARRANTY.
}}IS_RIGHT
*/
package o... |
package com.vicutu.batchdownload.service;
import com.vicutu.batchdownload.domain.DownloadDetail;
public interface DownloadDetailService {
void saveOrUpdateDownloadDetail(DownloadDetail downloadDetail);
}
|
package pers.lyr.demo.controller;
import lombok.extern.slf4j.Slf4j;
import pers.lyr.demo.common.factory.ServiceFactory;
import pers.lyr.demo.common.util.WebUtil;
import pers.lyr.demo.pojo.po.Student;
import pers.lyr.demo.service.StudentService;
import javax.servlet.ServletException;
import javax.servlet.annotation.... |
package com.privilege.app.models.entity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Tab... |
package boundedqueue;
import static org.junit.Assert.*;
import org.junit.Before;
import org.junit.Test;
/**
* This class contains unit tests for the ListQueue class. It purpose is to
* test all constructors and methods of the ListQueue class.
*
* @author Mike Parrish
* @version 2016.09.25
*/
public class List... |
package io.jee.alaska.alibaba.alipay;
import org.springframework.util.StringUtils;
import com.alipay.api.AlipayApiException;
import com.alipay.api.AlipayClient;
import com.alipay.api.DefaultAlipayClient;
import com.alipay.api.domain.AlipayTradePagePayModel;
import com.alipay.api.request.AlipayTradePagePayRequ... |
package com.ut.healthelink.controller;
import com.ut.healthelink.model.User;
import com.ut.healthelink.model.mailMessage;
import com.ut.healthelink.model.newsArticle;
import com.ut.healthelink.model.newsletterSignup;
import com.ut.healthelink.model.userAccess;
import com.ut.healthelink.service.emailMessageManager;
imp... |
/*
* 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.tfar.daoImpl;
/**
*
* @author hatem
*/
import com.tfar.dao.HopitalDao;
import com.tfar.entity.Hopitale;
//import Entity... |
package database;
/**
* Agency Data Access class
*
* @author Quynh Nguyen (Queenie)
* Created: 04/15/2019
*/
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
import java.util.logging.Level;
... |
package com.sencha.gxt.desktopapp.client.event;
import com.google.gwt.event.shared.EventHandler;
import com.google.gwt.event.shared.GwtEvent;
import com.sencha.gxt.desktopapp.client.event.PropertyEvent.PropertyHandler;
public class PropertyEvent extends GwtEvent<PropertyHandler> {
public interface PropertyHandler e... |
package com.appspot.smartshop.mock;
import java.util.Date;
import java.util.LinkedList;
import java.util.List;
import android.util.Log;
import com.appspot.smartshop.dom.SmartshopNotification;
public class MockNotification {
public static final String TAG = "[MockNotification]";
public static final int... |
/*
* 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 scheduledexecutor;
import java.net.UnknownHostException;
import java.util.ArrayList;
import java.util.Date;
import java.util.L... |
//Figure 2-23
static final int N = 100; // Size of the buffer
static int count = 0; // Number of items in buffer
static void producer(){
Item item;
while(true) { // Loop forever
item = produce_item(); ... |
package org.squonk.util;
import java.io.IOException;
import java.util.stream.Stream;
/**
* Wraps an Stream<MoleculeObject> to allow stronger typing and allow some
* flexibility in the type of Stream generated.
* Note that some stream implementations will need to be closed as they use underlying resources
*... |
import javax.swing.*;
/**
* Created by Vala on 3/12/2016.
*/
public class DSH
{ public static double[] vektordef() //deklarimi i vektorit
{ int k = new Integer(JOptionPane.showInputDialog("Jep gjatesine e vektorit")).intValue();
double[] v = new double[k];
return v;
}
pub... |
/*
* 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 recursividad;
import java.util.Scanner;
/**
*
* @author Pablo
*/
public class Rombo {
public static void logica(int t... |
package particle;
import java.awt.Graphics2D;
import java.awt.Image;
import main.Game;
import main.Pictures;
import main.World;
public class Spark extends Particle
{
public Spark(long x, long y, World world)
{
super(x, y, world);
lifeTime = 50;
}
@Override
public void tick()
{
supe... |
import java.util.Comparator;
import java.util.Random;
/**
* Write a description of class Jugador here.
*
* @author (your name)
* @version (a version number or a date)
*/
public abstract class Jugador implements Comparable<Jugador>, Cloneable
{
private final String nombre;
private int edad;
private i... |
package com.game.service;
import com.game.biz.model.R2LastWeekReportLine;
import java.util.List;
import java.util.Optional;
/**
* Service Interface for managing {@link R2LastWeekReportLine}.
*/
public interface R2LastWeekReportLineService {
/**
* Save a r2LastWeekReportLine.
*
* @param r2LastWe... |
/**
* Copyright (C) Alibaba Cloud Computing, 2012
* All rights reserved.
*
* 版权所有 (C)阿里巴巴云计算,2012
*/
package com.aliyun.oss.model;
/**
* 包含列出Part的请求参数。
*
*/
public class ListPartsRequest extends WebServiceRequest {
private String bucketName;
private String key;
private String uploadId;
pr... |
/**
* Support classes for handling validation results.
*/
@NonNullApi
@NonNullFields
package org.springframework.validation.support;
import org.springframework.lang.NonNullApi;
import org.springframework.lang.NonNullFields;
|
package com.example.bootcamp.commons;
import lombok.Data;
@Data
public class ResponseStatus {
public static final int OK = 200;
public static final int SUCCESS = 101;
public static final int FAILED = 102;
public static final int INTERNAL_ERROR = 500;
public static final int ACCESS_DENIED = 403;
public static ... |
/*-----------------------------
* Author: Jeremy Dalcin
* Motivation: learning how to use array lists.
* They are like arrays except automatically resize when you delete or add objects to it.
* Class: uses array lists
* ----------------------------*/
import java.util.ArrayList;
import java.util.Iterator;
import ... |
package com.min.edu.model;
import java.util.List;
import java.util.Map;
import org.mybatis.spring.SqlSessionTemplate;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
import com.min.edu.dto.AnswerboardDTO;
@Repository
public class AnswerboardDaoImpl i... |
package app.com.thetechnocafe.eventos;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.suppo... |
package br.com.lucro.server.model;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
public class SoldValueByFlag {
@JsonProperty("debt")
private Double debt;
@JsonProperty("credi... |
package com.lv.movice;
import java.net.MalformedURLException;
import java.net.URI;
import java.net.URL;
import com.lv.smartview.SmartImageView;
import com.lv.test.LoadMoviceDetial;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import and... |
package challenges;
// 66. Sum 3 and 5 Challenge
// Create a for statement using a range of numbers from 1 to 1000 inclusive
// Sum all the numbers that can be divided with both 3 and 5
// For those numbers that meet the above conditions, print out the number
// Break out of the loop once you find 5 numbers that met ... |
package com.git.cloud.common.enums;
public enum OperationType {
/** 导入虚拟交换机*/
IMPORT_VSWITCH("IMPORT_VSWITCH"),
/** 导入虚拟机*/
IMPORT_VM("IMPORT_VM"),
/** 创建虚拟机*/
BUILD_VM("BUILD_VM"),
/** 创建物理击*/
BUILD_HOST("BUILD_HOST"),
/** 回收物理击*/
RECYCLE_HOST("RECYCLE_HOST"),
/** 实施 */
ACTUALIZE("ACTUALI... |
package Class1.InterFaceDemo1;
import com.sun.istack.internal.NotNull;
public class Person {
private final String name;
private final String id;
public Person(@NotNull final String name, @NotNull final String id){
this.name = name;
this.id = id;
}
public String getName(){
... |
package rdfsynopsis.statistics;
import java.io.PrintStream;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;
import org.apache.log4j.Logger;
import com.hp.hpl.jena.query.QuerySolution;
import com.hp.hpl.jena.query.ResultSet;
import com.hp.hpl.jena.rdf.model.Property;
import com.hp.hpl.jena.rdf.m... |
package exercise1;
import java.util.Collections;
import java.util.List;
public class Runtime<T extends Number> implements java.util.concurrent.Callable<Double> {
private final List<Integer> integers = Collections.emptyList();
public List<T> numbers() {
return Collections.emptyList();
}
publi... |
package remadjelem;
import java.util.*;
public class Remadjelem {
public static void check(String str)
{
String str1="";
for(int i=0;i<str.length();i++)
{
while(i<str.length()-1 && str.charAt(i)==str.charAt(i+1))
{
if(i<str.length()-2 && str.c... |
package org.cethos.tools.ninebatch.tests.tasks.batch;
import org.apache.commons.io.IOUtils;
import org.cethos.tools.ninebatch.creation.NinePatchConfig;
import org.cethos.tools.ninebatch.creation.PixelRange;
import org.cethos.tools.ninebatch.tasks.batch.ConversionParsing;
import org.cethos.tools.ninebatch.tests.testuti... |
/*
* 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 tareahanoi;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.IOException;
import ... |
package com.ecommerceserver.respository;
import java.util.Optional;
import com.ecommerceserver.model.Seller;
import org.springframework.data.mongodb.repository.MongoRepository;
public interface SellerRepository extends MongoRepository<Seller, String> {
Optional<Seller> findByEmail(String email);
} |
package com.codingKnowledge.entity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
@Component
public class Car {
@SuppressWarnings("unused")
@Autowired
private static Engine engine;
public void printCar() {
System.out.println("Engine: " + Engin... |
package com.xiberty.ecotips.adapters;
import android.content.Context;
import android.content.Intent;
import android.graphics.Typeface;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.... |
package com.stk123.entity;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import javax.persistence.*;
import java.util.List;
import java.util.Objects;
@Entity
@Table(name = "STK_INDUSTRY_TYPE")
@Getter
@Setter
public class StkIndustryTypeEntity {
@Id
@Column(name = "ID", nullable = false... |
package com.ylh.test.bean;
/**
* @author yanluhai
*
*/
public class testBean {
private Integer uuid;//
private String tablename;//
private Integer codeGen_uuid;//
private Integer tabletype;//0:主表1:子表
private String name;//
public Integer getUuid() {
return uuid;
}
public void setUuid(Integ... |
import java.io.*;
//no more test
public class Assi0 {
public static void main(String[] args){
String savedWord[] = new String[60];
int number[] = new int[60];
for(int i=0;i<60;i++)
{
savedWord[i]="";
number[i]=0;
}
String filename = "plain.txt";
String str = "";
S... |
package com.example.apprunner.Organizer.menu5_update_reward.Activity;
import androidx.appcompat.app.AppCompatActivity;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
import android.os.Bundle;
import android.widget.TextView;
import android.widget.Toast;
impo... |
package me.hotjoyit.user.service;
import me.hotjoyit.user.domain.User;
import java.util.List;
/**
* Created by hotjoyit on 2016-07-23
*/
public interface UserService {
void add(User user);
void upgradeLevels();
User get(String id);
void deleteAll();
int getCount();
List<User> getAll();
void update(Us... |
class Main {
public static void main (String [] args) {
Sklad sklad = new Sklad("Egorova 5");
Good good = new Good (123, 12.50, "Nuts");
Good good1 = new Good (124, 12.70, "Bold");
sklad.addGood (good1);
sklad.addGood (good);
sklad.show();
}
} |
package sample;
import javafx.beans.property.SimpleStringProperty;
public class TripTypes {
SimpleStringProperty triptypeId;
SimpleStringProperty ttName;
public TripTypes(String tripTypeId, String TTName) {
triptypeId = new SimpleStringProperty(tripTypeId);
this.ttName = new SimpleStringP... |
package com.tony.model;
import java.io.Serializable;
public class ColorModel implements Serializable {
private int sampleid;
private String samplename;
private String hue;
private String saturation;
private String value;
public int getSampleid() {
return sampleid;
}
public void setSampleid(int sampleid) {
... |
package com.zaiou.common.vo.datamodel;
import com.zaiou.common.vo.DatamodelResponse;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;
/**
* @Description:
* @auther: LB 2018/10/3... |
package codeWars.pickPeaks;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
import java.util.List;
public class PickPeaks {
public static Map<String,List<Integer>> getPeaks(int[] arr) {
Map<String, List<Integer>> result = new HashMap<>();
if(arr.length<2) {
... |
package com.cems.activities;
import com.cems.CEMSDataStore;
import com.cems.R;
import com.cems.adapter.EventAdapter;
import com.cems.adapter.EventRegistrationsAdapter;
import com.cems.databinding.ActivityEventRegistrationsBinding;
import com.cems.model.Event;
import com.cems.model.EventRegistrations;
import com.cems.m... |
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.*;
public class Main {
final BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
final String LINE_SPR = System.getProperty("line.separator");
final int BIG_MOD = 1000000007;
int[][] A, B;
int m,... |
package com.gxtc.huchuan.adapter;
import android.content.Context;
import android.view.View;
import android.widget.ImageView;
import com.gxtc.commlibrary.base.BaseRecyclerAdapter;
import com.gxtc.commlibrary.helper.ImageHelper;
import com.gxtc.huchuan.R;
import com.gxtc.huchuan.bean.BgPicBean;
import java.util.List;
... |
package com.web.actions;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.util.Properties;
import javax.servlet.http.HttpServletResponse;
import org.apache.struts2.ServletActionContext;
import com.alibaba.fastjson.JSON;
import com.infohold.api.InfoholdPassWordAPI;
import ... |
package com.soa.zad1.tag;
import lombok.Getter;
import lombok.Setter;
import javax.servlet.jsp.JspException;
import javax.servlet.jsp.JspWriter;
import javax.servlet.jsp.tagext.SimpleTagSupport;
import java.io.IOException;
@Getter
@Setter
public class ParagrafTag extends SimpleTagSupport {
private String head;
... |
package com.examples.io.linkedlists;
public class RemoveNthNodeFromEnd {
public static void main(String[] args) {
Node node = new Node(1);
node.next = new Node(2);
node.next.next = new Node(3);
node.next.next.next = new Node(4);
node.next.next.next.next = new Node(5);
... |
package bltest.matchbltest;
import static org.junit.Assert.*;
import gnu.trove.map.TIntObjectMap;
import org.junit.Test;
import bl.matchbl.Match;
import bl.matchbl.PlayerQueue;
public class MatchPlayerMapTest_total {
@Test
public void test() {
Match match = Match.instance();
TIntObjectMap<Play... |
package com.alex.pets;
public class Wolf extends Pet implements Alive {
private String name;
private String breed;
public Wolf(String someName, String breed) {
this.name = someName;
this.breed = breed;
}
public void lovit(Object object) {
System.out.println("Wolf lovit" + ... |
package com.neo.listener;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.context.event.ApplicationContextInitializedEvent;
import org.springframework.context.ApplicationListener;
/**
* ApplicationContextInitializedEvent is sent when the ApplicationContext is prepared
* and ApplicationContext... |
/******************************************************************************
* __ *
* <-----/@@\-----> *
* <-< < \\// > >-> *
... |
package com.openfarmanager.android.googledrive.model;
import android.util.SparseArray;
import com.openfarmanager.android.googledrive.api.Fields;
import org.json.JSONException;
import org.json.JSONObject;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.HashMap;
import java.util.I... |
package org.garret.perst.impl;
import org.garret.perst.*;
import java.util.Date;
public class DefaultComparator implements Comparator
{
public int compare(Object o1, Object o2)
{
if (o1 == o2) {
return 0;
} if (o1 == null) {
return -1;
} else if (o2 == nul... |
package com.example.movieapp;
import java.util.Objects;
public class MovieModel {
private String poster;
private String title;
private String overview;
private String year;
private float vote;
private int iD;
public MovieModel(String poster, String title, String overview, String year, fl... |
package factory;
public class DefaultPizza implements Pizza {
}
|
package com.lytlogic.simulate;
import java.util.*;
public class GroupMeal implements Event {
public List<Person> persons = new ArrayList<Person>();
public int x;
public int y;
public int time;
public GroupMeal(Group g, int t) {
// persons.addAll(g.activeMembers());
persons.addAll(... |
package com.cdgpacific.sellercatpal;
import android.content.Context;
import android.telephony.TelephonyManager;
import android.util.DisplayMetrics;
import android.view.Display;
import android.view.WindowManager;
import java.util.ArrayList;
/**
* Created by kingp on 10/5/2016.
*/
public class Helpers {
public ... |
package com.mpowa.android.powapos.apps.powatools;
import android.app.Activity;
import android.app.Fragment;
import android.app.FragmentTransaction;
import android.content.Intent;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.FrameLayout;
import android.wi... |
package algo3.fiuba.modelo.campo;
import algo3.fiuba.modelo.cartas.CartaCampo;
public interface ZonaCartaCampo {
ZonaCartaCampo agregarCartaCampo(CartaCampo cartaCampo);
ZonaCartaCampo removerCartaCampo(CartaCampo cartaCampo);
CartaCampo getCartaCampo();
boolean cartaEstaEnZona(CartaCampo cartaCam... |
/*
* Copyright 2016 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... |
/* just integrated this in Indices
package org.aksw.autosparql.commons.index;
import org.dllearner.common.index.SPARQLClassesIndex;
import org.dllearner.common.index.SPARQLDatatypePropertiesIndex;
import org.dllearner.common.index.SPARQLIndex;
import org.dllearner.common.index.SPARQLObjectPropertiesIndex;
import com.h... |
package com.hendisantika.springbootmongodbsample.model;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;
/**
* Created by IntelliJ IDEA.
* Project : spring-boot-mongodb-sample
* User... |
package practise;
//this is method hiding program
//method resolution is decided on compile time based on reference type
//durga sir video method hiding
public class MethodHiding
{
public static void main(String[] args) {
Parent1 p=new Parent1();
p.message();//hello parent // hello parent
Child1 c=new Chi... |
package com.trump.auction.back.rule.model;
import lombok.Data;
import lombok.ToString;
import java.math.BigDecimal;
import java.util.Date;
/**
* 规则
*
* @author zhangliyan
* @create 2018-01-02 17:11
**/
@Data
@ToString
public class AuctionRule {
/**
* 主键
*/
private Integer id;
/**
* 规... |
package com.daydvr.store.presenter.video;
import android.app.Activity;
import android.os.Message;
import com.daydvr.store.bean.VideoListBean;
import com.daydvr.store.model.video.VideoModel;
import com.daydvr.store.util.LoaderHandler;
import java.util.ArrayList;
import java.util.List;
import static com.daydvr.store.... |
/*
* Copyright (C) 2017 GetMangos
*
* 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 2
* of the License, or (at your option) any later version.
*
* This program is... |
package com.freeraven.datastructures.linkedlist.removeduplicates;
import org.junit.Test;
import java.util.Arrays;
import java.util.LinkedList;
import java.util.List;
import static org.hamcrest.core.Is.is;
import static org.junit.Assert.*;
/**
* Created by zvlad on 7/5/16.
*/
public class RemoveDuplicatesTest {
... |
/**
* This class is generated by jOOQ
*/
package schema.tables.records;
import java.math.BigDecimal;
import java.sql.Timestamp;
import javax.annotation.Generated;
import org.jooq.Field;
import org.jooq.Record1;
import org.jooq.Record7;
import org.jooq.Row7;
import org.jooq.impl.UpdatableRecordImpl;
import schema... |
/*
* 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 indexnilai;
/**
*
* @author junandre
*/
public class Nilai {
double nilai;
public double getNilai() {
ret... |
package ca.uwaterloo.stepcounter;
import java.util.Arrays;
import android.app.Activity;
import android.hardware.Sensor;
import android.hardware.SensorEvent;
import android.hardware.SensorEventListener;
import android.hardware.SensorManager;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuI... |
package com.ifeng.recom.mixrecall.core.service;
import com.ifeng.recom.mixrecall.common.model.RecordInfo;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
/**
* Created by geyl on 2017/11/9.
*/
public class RecallNumberTest {
private int recallNumber = 500;
private double... |
package com.eniso.regimi.repository;
import java.util.Date;
import java.util.List;
import java.util.Optional;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;
import com.eniso.regimi.models.Partner;
@Repository
public interface PartnerRepository e... |
package stock.ecs739.minmax;
import java.io.IOException;
import java.util.StringTokenizer;
import org.apache.hadoop.io.DoubleWritable;
import org.apache.hadoop.io.IntWritable;
import org.apache.hadoop.io.Text;
import org.apache.hadoop.mapreduce.Mapper;
import stock.ecs739.DailyStock;
public class DailyMaxMapper exte... |
package com.choco.rpc.service.impl;
import com.alibaba.dubbo.config.annotation.Service;
import com.choco.common.result.ShopPageInfo;
import com.choco.rpc.service.SearchService;
import com.choco.rpc.vo.GoodsVo;
import org.elasticsearch.action.search.SearchRequest;
import org.elasticsearch.action.search.SearchResponse;
... |
package com.git.cloud.resmgt.compute.model.vo;
import java.io.Serializable;
import com.git.cloud.common.model.base.BaseBO;
public class PhysicsMachineVo extends BaseBO implements Serializable {
private static final long serialVersionUID = 1L;
//名称
private String pname;
//CPU数量
private String cpu;
... |
/*
* 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 duck_hunt;
import java.util.Date;
/**
*
* @author admin
*/
public class Ducks {
public double an... |
package com.freeraven.algorithms.fibonacci;
/**
* Created by zvlades on 4/1/17.
*/
public class Fibonacci {
public long getItemAtPositionRecursively(int position) {
if (position < 0) throw new IllegalArgumentException("position < 0");
if (position < 2) {
return position;
}
... |
package com.dmtrdev.monsters.sprites.armors.ground;
import com.badlogic.gdx.audio.Sound;
import com.badlogic.gdx.graphics.g2d.Animation;
import com.badlogic.gdx.graphics.g2d.Batch;
import com.badlogic.gdx.graphics.g2d.TextureRegion;
import com.badlogic.gdx.physics.box2d.BodyDef;
import com.badlogic.gdx.physics.box2d.F... |
package com.sinodynamic.hkgta.util;
import java.io.File;
import java.io.IOException;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Properties;
import org.apache.log4j.DailyRollingFileAppender;
import org.apache.log4j.helpers.LogLog;
import org.springframework.core.io.ClassPathResource;
im... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.