text stringlengths 7 1.01M |
|---|
/**
* Copyright 2013 52°North Initiative for Geospatial Open Source Software GmbH
*
* 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
*
... |
package data;
import android.os.Parcel;
import android.os.Parcelable;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.concurrent.TimeUnit;
import util.DateUtils;
public class WorkEntry... |
package ij.plugin;
import java.awt.*;
import java.awt.event.*;
import java.awt.datatransfer.*;
import java.awt.image.*;
import java.io.*;
import java.lang.reflect.*;
import ij.*;
import ij.process.*;
import ij.gui.*;
import ij.plugin.frame.Editor;
/** Copies and pastes images to the clipboard. Java 1.4 or later is
... |
/*
* Copyright 2019 dc-square GmbH
*
* 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 agree... |
/**
* Copyright (C) 2018-2020
* All rights reserved, Designed By www.yixiang.co
*/
package co.zhenxi.tools.service.mapper;
import co.zhenxi.common.mapper.CoreMapper;
import co.zhenxi.tools.domain.EmailConfig;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
/**
* @aut... |
/*
* Copyright 2010 Harald Wellmann
*
* 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 a... |
package io.apptik.rhub;
import com.jakewharton.rxrelay.*;
import io.apptik.roxy.Roxy;
import io.apptik.roxy.RxJava1Proxies;
import rx.Observable;
import rx.subjects.*;
public enum RxJava1ProxyType implements RHub.ProxyType<Roxy<Observable>> {
/**
* Proxy based on {@link BehaviorSubject}
*/
Behavi... |
/*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... |
package com.xinshang.modular.biz.dao;
import com.xinshang.modular.biz.model.SpecsAttribute;
import com.baomidou.mybatisplus.mapper.BaseMapper;
/**
* <p>
* 规格属性名 Mapper 接口
* </p>
*
* @author zhangjiajia
* @since 2019-11-25
*/
public interface SpecsAttributeMapper extends BaseMapper<SpecsAttribute> {
}
|
package com.backbase.game;
import lombok.Getter;
import lombok.Setter;
import java.util.HashMap;
import java.util.Map;
@Getter
@Setter
public class Kalah {
private Integer gameNumber;
private Map<Integer, Integer> status;
public Kalah() {
Map<Integer, Integer> status = new HashMap<>();
f... |
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you m... |
/*
* Copyright 2019 ThoughtWorks, Inc.
*
* 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 agr... |
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you m... |
/*
* Copyright 2014 Orient Technologies.
*
* 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 ... |
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... |
package lsieun.cert.x509;
import lsieun.cert.asn1.ASN1Converter;
import lsieun.cert.asn1.ASN1Struct;
import lsieun.utils.DateUtils;
import java.util.Date;
import java.util.List;
public class ValidityPeriod {
public final Date notBefore;
public final Date notAfter;
public ValidityPeriod(Date notBefore, D... |
/*
* Copyright 2019. the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... |
package org.neo4j.cypherdsl.codegen.sdn6.models.labels.nodeswithdifferentlabelannotations;
import java.util.List;
import javax.annotation.Generated;
import org.neo4j.cypherdsl.core.MapExpression;
import org.neo4j.cypherdsl.core.NodeBase;
import org.neo4j.cypherdsl.core.NodeLabel;
import org.neo4j.cypherdsl.core.Proper... |
/**
* Based on initial work of HidDeviceProfile.java from WearMouse, which comes with the
* following copyright notice, licensed under the Apache License, Version 2.0
*
* Copyright 2018, Google LLC All Rights Reserved.
*
* Modified to model the HID representation of a security key virtual connection
* based on t... |
/**
* Copyright (c) 2013-2020 Nikita Koksharov
*
* 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... |
/*******************************************************************************
* Copyright SemanticBits, Northwestern University and Akaza Research
*
* Distributed under the OSI-approved BSD 3-Clause License.
* See http://ncip.github.com/caaers/LICENSE.txt for details.
*************************************... |
package xyz.jecy.gateway.config;
import java.net.URI;
import java.util.List;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.gateway.filter.GatewayFilterChain;
import org.springframework.cloud.gateway.filter.GlobalFilter;
import org.springframework.core.Ordered;
import org.s... |
//
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you ... |
package com.shltr.darrieng.shltr_android;
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.shltr.darrieng.shltr_android... |
package org.bc.asn1.esf;
import org.bc.asn1.ASN1EncodableVector;
import org.bc.asn1.ASN1Object;
import org.bc.asn1.ASN1ObjectIdentifier;
import org.bc.asn1.ASN1Primitive;
import org.bc.asn1.ASN1Sequence;
import org.bc.asn1.DERSequence;
public class CommitmentTypeIndication extends ASN1Object {
private ASN1ObjectId... |
package zserio.emit.java;
import zserio.ast.ZserioType;
import zserio.emit.common.ZserioEmitException;
/**
* The exception which can be thrown by Java emitter.
*/
public class ZserioEmitJavaException extends ZserioEmitException
{
/**
* Constructor.
*
* @param message Exception message.
*/
... |
package br.com.resultatec.sagflix.api.v1.model.input;
import javax.validation.constraints.NotBlank;
import lombok.Getter;
import lombok.Setter;
@Getter
@Setter
public class ComentarioVideoInput {
@NotBlank
private String comentario;
}
|
package com.platform.utils.excel;
import com.platform.utils.RRException;
import org.springframework.web.multipart.MultipartFile;
import java.io.IOException;
import java.util.List;
import java.util.Map;
/**
* Excel文件导入的基本功能类
* 可导入EXCEL2003 和 EXCEL2007格式。
*
* @author taylor
* @email 516195940@qq.com
* @date 20... |
/*------------------------------------------------------------------------------
Copyright (c) CovertJaguar, 2011-2020
This work (the API) is licensed under the "MIT" License,
see LICENSE.md for details.
-----------------------------------------------------------------------------*/
package mods.railcraft.api.car... |
package util;
import androidx.recyclerview.widget.RecyclerView;
public interface OnStartDragListener {
void onStartDrag(RecyclerView.ViewHolder viewHolder);
}
|
package com.mydomain.accounting.dao;
import java.util.List;
import com.mydomain.accounting.dao.mapper.TagMapper;
import com.mydomain.accounting.model.persistence.TagPersistenceModel;
import org.springframework.stereotype.Repository;
@Repository
public class TagDaoIpl implements TagDao {
private final TagMapper t... |
package lol.maki.socks.order;
import java.math.BigDecimal;
import java.time.OffsetDateTime;
import java.util.List;
import java.util.UUID;
import java.util.function.Supplier;
import static java.math.BigDecimal.ZERO;
public class Order {
private final String id;
private final Customer customer;
private final Addr... |
package org.jenkinsci.plugins.p4.scm;
import jenkins.scm.api.SCMHead;
import jenkins.scm.api.mixin.ChangeRequestSCMHead;
public class P4GraphRequestSCMHead extends P4SCMHead implements ChangeRequestSCMHead {
private static final long serialVersionUID = 1L;
private final SCMHead target;
private final String repo;... |
package com.example.batch;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.batch.core.BatchStatus;
import org.springframework.batch.core.JobExecution;
import org.springframework.batch.core.listener.JobExecutionListenerSupport;
/**
* Created by icttb0 on 06/02/2017.
*/
public clas... |
/*
* This file is part of BlueMap, licensed under the MIT License (MIT).
*
* Copyright (c) Blue (Lukas Rieger) <https://bluecolored.de>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Softwar... |
// Targeted by JavaCPP version 1.5.7-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.ale;
import java.nio.*;
import org.bytedeco.javacpp.*;
import org.bytedeco.javacpp.annotation.*;
import static org.bytedeco.javacpp.presets.javacpp.*;
import static org.bytedeco.ale.global.ale.*;
@Opaque @Properties(inherit =... |
package frc.robot;
import edu.wpi.first.math.kinematics.DifferentialDriveKinematics;
/**
* The Constants class provides a convenient place for teams to hold robot-wide numerical or boolean
* constants. This class should not be used for any other purpose. All constants should be declared
* globally (i.e. public sta... |
package com.conveyal.datatools.editor.models.transit;
public enum AttributeAvailabilityType {
UNKNOWN,
AVAILABLE,
UNAVAILABLE
} |
package com.github.informramiz.popularmovies;
import android.content.Intent;
import android.net.Uri;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.ImageView;
import android.widget.TextView;
import android.widget.Toast;
import com.github.informramiz.popularmovies.mode... |
begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1
begin_comment
comment|/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses... |
/**
* Copyright 2017-2019 The GreyCat Authors. All rights reserved.
* <p>
* 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
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
* <p>
* Un... |
package net.ros.common.ore;
import net.minecraft.block.state.IBlockState;
import net.minecraft.item.EnumRarity;
import net.minecraft.item.ItemStack;
import net.minecraftforge.fluids.Fluid;
import net.minecraftforge.fluids.FluidRegistry;
import net.ros.common.block.BlockVeinOre;
import net.ros.common.init.ROSItems;
im... |
package io.github.learnjpahibernate.repository;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import io.github.learnjpahibernate.model.LateInvoice;
@Repository
public interface LateInvoiceRepository extends JpaRepository<LateInvoice, Long> {
... |
package org.robolectric.shadows;
import static com.google.common.truth.Truth.assertThat;
import static java.nio.charset.StandardCharsets.UTF_8;
import static org.robolectric.Shadows.shadowOf;
import android.app.Application;
import android.content.res.Resources;
import android.graphics.Bitmap;
import android.graphics.... |
/*
* Copyright (C) 2015 Noorq, Inc.
*
* 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... |
package org.eclipse.rcp.intro.dialogs.standard.handler;
import org.eclipse.core.commands.AbstractHandler;
import org.eclipse.core.commands.ExecutionEvent;
import org.eclipse.core.commands.ExecutionException;
import org.eclipse.jface.dialogs.MessageDialog;
import org.eclipse.swt.graphics.FontData;
import org.eclipse.sw... |
/*
* Copyright 2008-2009 the original 赵永春(zyc@hasor.net).
*
* 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 a... |
/*
* Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
package org.... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package watermaze_ver_3_0;
import java.util.Arrays;
import javax.swing.JOptionPane;
/**
*
* @author Balaji
*/
class TraceData extends Object{
double[] xData = null;
double[] yData = null;
int CurrPos = ... |
//Convert infix into postfix
import java.util.*;
import java.lang.*;
import java.io.*;
class GFG{
public static void main(String[] args)throws java.lang.Exception{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int t = Integer.parseInt(br.readLine());
while(t-->0){
St... |
package com.example.bakingapp.adapters;
import android.content.Context;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import com.example.bakingapp.R;
import com.example.bakingapp.activities.RecipeActivity;
import ... |
package com.tensquare.base.controller;
import com.tensquare.base.entity.Label;
import com.tensquare.base.service.ILabelService;
import com.tensquare.common.entity.Result;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.*;
import javax.annotation.Resource;
/**
* @Author HanLei
* @Da... |
/*
* Copyright 2002-2018 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 ap... |
/*
* Copyright (c) 2006 Hyperic, Inc.
*
* 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 agre... |
package com.andrewkats.katsprint.data;
public enum Paper
{
// Add additional paper sizes here.
// Use PRICE_INVALID to set as unavaliable.
A4(Price.A4_BLACK_SINGLE, Price.A4_BLACK_DOUBLE, Price.A4_COLOR_SINGLE, Price.A4_COLOR_DOUBLE),
NONE(Price.PRICE_INVALID, Price.PRICE_INVALID, Price.PRICE_INVALID, ... |
/*
* MIT License
*
* Copyright (c) 2021 MASES s.r.l.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, cop... |
/*
* Protocoder
* A prototyping platform for Android devices
*
* Victor Diaz Barrales victormdb@gmail.com
*
* Copyright (C) 2014 Victor Diaz
* Copyright (C) 2013 Motorola Mobility LLC
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated document... |
/*
* Licensed to ElasticSearch and Shay Banon under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. ElasticSearch licenses this
* file to you under the Apache License, Version 2.0 (the
* "License"); you may... |
package com.soulin.mvpdouban.data.model;
import com.google.auto.value.AutoValue;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.Gson;
@AutoValue
public abstract class Avatars{
@SerializedName("small")
public abstract String small();
@SerializedName("... |
/*
* Copyright 2001-2005 Stephen Colebourne
*
* 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... |
package no.unit.nva.search.models;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.databind.JsonNode;
import nva.commons.core.JacocoGenerated;
import nva.commons.core.paths... |
import java.awt.*;
/**
* Uno
*
* WildColourSelectorOverlay class:
* Defines the overlay for choosing colours for wild and +4 cards.
*
* @author Peter Mitchell
* @version 2021.1
*/
public class WildColourSelectorOverlay extends WndInterface implements TurnDecisionOverlayInterface {
/**
* Tracking of th... |
import org.checkerframework.common.value.qual.IntRange;
public class RefinementGTE {
void test_forward(int a, int j, int s) {
/** forwards greater than or equals */
// :: error: (assignment)
@IntRange(from = -1) int aa = a;
if (a >= -1) {
@IntRange(from = -1) int b = a;
} else {
// :... |
package net.i2p.util;
import java.io.IOException;
import java.io.PipedInputStream;
import java.io.PipedOutputStream;
import java.net.InetAddress;
import java.net.ServerSocket;
import java.net.Socket;
import java.net.SocketAddress;
import java.nio.channels.ServerSocketChannel;
import java.util.concurrent.BlockingQueue;... |
package com.lucodeveloper.model;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persi... |
package com.nx.logger.diskLog;
import android.os.Handler;
import android.os.Looper;
import android.os.Message;
import android.util.Log;
import com.nx.logger.androidBase.LogInterface;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.text.SimpleDateFormat;
import java.util.Date;
... |
// Copyright 2018 Google LLC
//
// 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 applicable law or agreed to in ... |
/*
* MIT License
*
* Copyright (c) 2017 Frederik Ar. Mikkelsen
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use,... |
package com.gm.dscustomer.dto.in;
public class OrderProductInDTO {
private Integer productId;
private Integer quantity;
public Integer getProductId() {
return productId;
}
public void setProductId(Integer productId) {
this.productId = productId;
}
public Integer getQuanti... |
package org.hl7.fhir.convertors.conv40_50;
import org.hl7.fhir.convertors.VersionConvertor_40_50;
import org.hl7.fhir.exceptions.FHIRException;
/*
Copyright (c) 2011+, HL7, Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided th... |
package onethreeseven.spm.data;
import onethreeseven.collections.IntArray;
import onethreeseven.spm.model.CoveredSequentialPattern;
import onethreeseven.spm.model.SequentialPattern;
import java.io.*;
import java.util.ArrayList;
import java.util.List;
/**
* For parsing output from SPMF sequential patterns.
* Can al... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
package io.hawt.dockerui;
import org.apache.http.*;
import org.apache.http.client.methods.AbortableHttpRequest;
import org.apache.http.client.utils.URIUtils;
import org.apache.http.entity.InputStreamEntity;
import org.apache.http.impl.client.CloseableHttpClient;
import org.apache.http.impl.client.HttpClients;
import ... |
package club.zhcs.thunder.task;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.hyperic.sigar.Sigar;
import org.hyperic.sigar.SigarException;
import org.nutz.aop.interceptor.async.Async;
import org.nutz.dao.Cnd;
import org.nutz.dao.Dao;
import org.nutz.integration.quartz.annotation.S... |
package com.joymain.jecs.util;
import java.beans.PropertyDescriptor;
import java.util.Enumeration;
import java.util.HashMap;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.util.Properties;
import java.util.ResourceBundle;
import org.apache.commons.b... |
/*
* Copyright (C) 2019 Everwin (www.everwin.fr)
*
* 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 applicabl... |
package com.github.lunatrius.schematica.network.message;
import com.github.lunatrius.schematica.api.ISchematic;
import com.github.lunatrius.schematica.handler.DownloadHandler;
import com.github.lunatrius.schematica.world.storage.Schematic;
import cpw.mods.fml.common.network.ByteBufUtils;
import cpw.mods.fml.common.net... |
package org.jvnet.ogc.gml.v_3_2_1.jts.gml2jts;
import org.locationtech.jts.geom.GeometryFactory;
public class GML321ToJTSConstants {
private GML321ToJTSConstants() {
}
public static final String[] DEFAULT_SRID_FORMAT_PATTERNS = {
"EPSG:{0,number,integer}",
"urn:ogc:def:crs:EPSG::{0,number,#}",
"urn:ogc... |
package com.ypx.imagepicker.data;
import android.content.Context;
import android.database.Cursor;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.v4.app.FragmentActivity;
import android.support.v4.app.LoaderManager;
import android.support.v4.content.Loader;
import... |
// ============================================================================
//
// Copyright (C) 2006-2017 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt
//
// You should have receiv... |
package concurrency;//: concurrency/HorseRace.java
// Using CyclicBarriers.
import java.util.concurrent.*;
import java.util.*;
import static net.mindview.util.Print.*;
class Horse implements Runnable {
private static int counter = 0;
private final int id = counter++;
private int strides = 0;
private static Ran... |
package sg.atom.corex.spatial;
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
import com.google.common.base.Predicate;
import com.jme3.scene.Geometry;
import com.jme3.scene.Node;
import com.jme3.scene.SceneGraphVisitor;
import com.jme3.scene.Spatial;
import com.jme3... |
package com.example.empty;
import android.content.Context;
import androidx.test.platform.app.InstrumentationRegistry;
import androidx.test.ext.junit.runners.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumented test, which will execute on an An... |
/*****************************************************************
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* ... |
package org.adorsys.adcore.jpa;
import java.util.List;
import javax.xml.bind.annotation.XmlRootElement;
@XmlRootElement
public class SearchResult<T>
{
/*
* The number of entities matching this search.
*/
private Long count;
/*
* The result list.
*/
private List<T> resultList;
/*
... |
package org.cyclops.integratedtunnels.core.part;
import net.minecraft.entity.player.PlayerInventory;
import net.minecraft.inventory.IInventory;
import net.minecraft.inventory.Inventory;
import net.minecraft.network.PacketBuffer;
import org.cyclops.cyclopscore.helper.ValueNotifierHelpers;
import org.cyclops.integratedd... |
package com.github.ingogriebsch.sample.spring.jdbc.postgresql.lob.handling;
import static org.assertj.core.api.Assertions.assertThat;
import org.junit.Test;
public class ContentDispositionUtilsTest {
@Test(expected = NullPointerException.class)
public void attachement_should_throw_exception_if_input_is_null... |
package experiment;
import java.util.ArrayList;
public class Grupo extends Element {
private String observacao;
//private ArrayList<ArquivoInterpretacao> arquivosInterpretacaoGrupo = new ArrayList<>();
//private ArrayList<Interpretacao> interpretacoes = new ArrayList<>();
... |
/*
* Copyright 2018 NAVER Corp.
*
* 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 to in w... |
#set( $symbol_pound = '#' )
#set( $symbol_dollar = '$' )
#set( $symbol_escape = '\' )
package ${package}.control.security;
import ${package}.model.domain.SessionUser;
public interface SessionInspector {
SessionUser getUser();
String getToken();
}
|
package com.atguigu.gmall.oms.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.atguigu.gmall.oms.entity.OrderReturnApplyEntity;
import com.atguigu.core.bean.PageVo;
import com.atguigu.core.bean.QueryCondition;
/**
* 订单退货申请
*
* @author lixianfeng
* @email lxf@atguigu.com
* @date 20... |
package com.example.tetianapriadko.people.dialog_fragments;
import android.app.Activity;
import android.content.DialogInterface;
import android.content.Intent;
import android.view.View;
public class DlgFragDeleteTeachList extends DlgFragAbstractOkCancel{
@Override
protected String getOKText() {
retur... |
package posters.loadtest.util;
import java.util.UUID;
import org.apache.commons.lang3.RandomStringUtils;
import com.xceptance.xlt.api.data.GeneralDataProvider;
/**
* Provides a customer account.
*/
public class Account
{
/**
* the email address
*/
private String email;
/**
* the first ... |
package net.ibizsys.pswf.core;
/**
* 流程版本模型
* @author lionlau
*
*/
public interface IWFVersionModel
{
/**
* 初始化
* @param iWFModel
* @throws Exception
*/
void init(IWFModel iWFModel) throws Exception;
/**
* 获取标识
* @return
*/
String getId();
/**
* 获取名称
* @return
*/
String getName()... |
package class1;
import java.util.HashMap;
public class Problem_08_TopKTimes2 {
public static class Node {
public String str;
public int times;
public Node(String s, int t) {
str = s;
times = t;
}
}
public static class TopKRecord {
private Node[] heap;
private int index;
private HashMap<Strin... |
/*
* Copyright 2013-2018 Amazon.com, Inc. or its affiliates. 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. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... |
package md53d543179a8e0b35fe087ec2065efd0d5;
public class SwitchRenderer
extends md53d543179a8e0b35fe087ec2065efd0d5.ViewRenderer_2
implements
mono.android.IGCUserPeer,
android.widget.CompoundButton.OnCheckedChangeListener
{
static final String __md_methods;
static {
__md_methods =
"n_onCheckedChanged:(... |
package org.mousephenotype.cda.ri.services;
import org.junit.Before;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.context.ApplicationContext;
import org.springframework.core.io.Res... |
/*******************************************************************************
*
* Pentaho Data Integration
*
* Copyright (C) 2002-2012 by Pentaho : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version 2.0 (the ... |
package com.training.onetomany.entity;
import javax.persistence.*;
@Entity
@Table(name = "Flights")
public class Flight {
private static final long serialVersionUID = 1L;
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
@Column(name="flightID")
private int flightId;
@ManyToOne(fetch... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.