text stringlengths 7 1.01M |
|---|
import org.apache.commons.validator.routines.EmailValidator;
import java.util.ArrayList;
import java.util.Collection;
public class UserManager {
private Collection<String> userStorage;
public UserManager(){
userStorage = new ArrayList<String>();
}
public boolean addUser(String userEmail) {
... |
package seedu.address.logic.commands;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import static seedu.address.commons.core.Messages.MESSAGE_PERSONS_LISTED_OVERVIEW;
import static seedu.address.logic.commands.CommandTestUtil.assertC... |
package ovh.ladon.restapidocker.springbootdocker.product;
import org.hibernate.annotations.CreationTimestamp;
import org.hibernate.annotations.UpdateTimestamp;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import java.ma... |
package com.vero.photoqueen;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.view.animation.Animation;
import android.view.animation.AnimationUtils;
import android.widget.ImageSwitcher;
import android.widget.ImageView;
import android.widget... |
/*
* Copyright (c) 2008-2019, Hazelcast, 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
*
* Unless required ... |
package com.yezi.openglmedia.filter;
public interface IRendererCallback {
void onSurfaceCreated();
void onSurfaceChanged(int width, int height);
void onDrawFrame();
}
|
/*
* XML Type: CT_TxbxContent
* Namespace: http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing
* Java type: org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTTxbxContent
*
* Automatically generated - do not modify.
*/
package org.openxmlformats.schemas.drawingml.x2006.wordproc... |
package cn.abelib.jodis.impl.executor;
import cn.abelib.jodis.impl.JodisDb;
import cn.abelib.jodis.impl.KeyType;
import cn.abelib.jodis.impl.operation.SetOperation;
import cn.abelib.jodis.protocol.*;
import cn.abelib.jodis.utils.StringUtils;
import java.util.List;
/**
* @Author: abel.huang
* @Date: 2020-07-16 01:... |
/*
* Copyright (c) 2000, 2006, 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 io.crate.protocols.postgres.types;
import io.netty.buffer.ByteBuf;
import io.netty.buffer.Unpooled;
import org.junit.Test;
import java.time.format.DateTimeParseException;
import static io.crate.testing.Asserts.assertThrows;
import static java.nio.charset.StandardCharsets.UTF_8;
import static org.hamcrest.Mat... |
/**
*
*/
package dk.aau.cs.skytpf.util;
import java.util.ArrayList;
import java.util.Iterator;
import dk.aau.cs.skytpf.main.SkylineQueryInput.SkylinePrefFunc;
import dk.aau.cs.skytpf.model.BindingHashMap;
import dk.aau.cs.skytpf.model.VarBinding;
/**
* @author Ilkcan Keles
*
*/
public class SkylineUtils {
/**... |
/*
* Copyright 2008-2014 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 app... |
//
// Navinha is distributed under the FreeBSD License
//
// Copyright (c) 2016, Carlos Rafael Gimenes das Neves
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// 1. Redistributions of sou... |
package com.codeflowcrafter.Sample.Amount.Implementation.Domain;
import android.database.Cursor;
import com.codeflowcrafter.PEAA.DataSynchronizationManager;
import com.codeflowcrafter.Sample.Amount.Implementation.ContentProvider.AmountTable;
/**
* Created by aiko on 5/14/17.
*/
public class ToAmountTranslator {
... |
package us.kbase.kbasenetworks;
import java.util.HashMap;
import java.util.Map;
import javax.annotation.Generated;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.... |
package co.yixiang.web.controller.shop;
import java.util.List;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annot... |
/**
* Refinement of {@link SyntaxElement}, contains a parsed abstract syntax tree for C-code.
*/
package net.ssehub.kernel_haven.code_model.ast;
|
package com.citytechinc.cq.component.touchuidialog.widget.textfield;
import com.citytechinc.cq.component.annotations.config.TouchUIWidget;
import com.citytechinc.cq.component.annotations.widgets.TextField;
import com.citytechinc.cq.component.touchuidialog.widget.AbstractTouchUIWidget;
import com.citytechinc.cq.compone... |
/*
* 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 edu.wpi.first.wpilibj.templates.commands;
/**
*
* @author John
*/
public class CompressorSwitchState extends Com... |
/*
* Copyright 2019 wjybxx
*
* 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... |
/*
*
* Copyright 2016-2017 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 req... |
/*
* Sonar Message Flow Plugin
* Copyright (C) 2015 Hendrik Scholz and EXXETA AG
* http://www.exxeta.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.apach... |
package org.robolectric.shadows;
import static android.content.Context.TELEPHONY_SERVICE;
import static android.os.Build.VERSION_CODES.JELLY_BEAN;
import static android.os.Build.VERSION_CODES.JELLY_BEAN_MR1;
import static android.os.Build.VERSION_CODES.JELLY_BEAN_MR2;
import static android.os.Build.VERSION_CODES.LOLLI... |
/*******************************************************************************
* Copyright (c) 2019 Oak Ridge National Laboratory.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the LICENSE
* which accompanies this distribution
*************************... |
package org.zstack.header.identity;
public enum PolicyType {
System,
User,
}
|
package ru.stqa.pft.addressbook.model;
import com.google.gson.annotations.Expose;
import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamOmitField;
import org.hibernate.annotations.Type;
import javax.persistence.*;
import java.io.File;
import java.util.HashSet;
im... |
/**
* 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... |
package org.benf.cfr.reader.bytecode.analysis.parse.rewriters;
import org.benf.cfr.reader.bytecode.analysis.parse.Expression;
import org.benf.cfr.reader.bytecode.analysis.parse.LValue;
import org.benf.cfr.reader.bytecode.analysis.parse.StatementContainer;
import org.benf.cfr.reader.bytecode.analysis.parse.expression.C... |
package com.google.android.gms.internal.ads;
import android.content.Context;
import android.content.SharedPreferences;
import android.content.SharedPreferences.OnSharedPreferenceChangeListener;
import android.content.pm.PackageManager.NameNotFoundException;
import android.os.Bundle;
import android.os.ConditionVariable... |
package com.planb.support.utilities;
import java.io.File;
import java.io.FileReader;
import java.io.IOException;
import java.util.Properties;
public class Config {
private static Properties props = new Properties();
static {
try {
props.load(new FileReader(new File("config.properties")));
} catch (IOExcept... |
/*
* Copyright 2012-2013 Continuuity,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
*
* Unless required by a... |
/*******************************************************************************
* ___ _ ____ ____
* / _ \ _ _ ___ ___| |_| _ \| __ )
* | | | | | | |/ _ \/ __| __| | | | _ \
* | |_| | |_| | __/\__ \ |_| |_| | |_) |
* \__\_\\__,_|\___||___/\__|____/|____/
*
* Copyright (c... |
package io.github.htools.hadoop.io.buffered;
import io.github.htools.io.buffer.BufferDelayedWriter;
import io.github.htools.io.buffer.BufferReaderWriter;
import io.github.htools.lib.Log;
import io.github.htools.lib.MathTools;
/**
* Pairs an int that indicates the partition number with a of long used for
* secondary... |
import java.io.File;
import java.io.IOException;
import java.io.RandomAccessFile;
public class FIleRandomeAccessFile {
public static void main(String[] args) throws IOException {
String pathname = "files" + File.separator + "FIleRandomeAccessFile.txt";
File f = new File(pathname);
// 使用Ra... |
package libj.db.ora;
/**
* @author Taras Lyuklyanchuk
*
* Oracle DB Library
*/
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import libj.debug.Trace;
public class SingleOracle extends Oracle {
private Connection connection;
// констр... |
/*
* DBeaver - Universal Database Manager
* Copyright (C) 2010-2019 Serge Rider (serge@jkiss.org)
*
* 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/license... |
package dtsa.mapped.client.request;
import dtsa.util.communication.base.RequestVisitor;
public interface ClientRequestVisitor
extends RequestVisitor {
// Visit
/**
* Handle `aVisited'
*
* @pattern visitor
*
* @param aVisited - request to processs.
*/
public abstract void visitProjectCompilation (... |
/*
* Copyright 2014-2019 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 no.nav.registre.testnorge.applikasjonsanalyseservice.consumer.dto;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.NoArgsConstructor;
import lombok.Value;
@Builder
@Value
@AllArgsConstructor
@NoArgsConstructor(force = true)
public class ItemDTO {
String name;
String sha;
}
|
package io.ttyys.micrc.annotations.technology;
/**
* 消息生产者(发送)
*/
public @interface InformationProducer {
String endpoint();
/**
* @return 实现类名称--不包含包结构
*/
String adapterClassName();
}
|
package com.example.simpletodo;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
public class EditActivity extends AppCompatActivity {
EditText editItem;
Button bt... |
package de.katzenpapst.amunra.tile;
import de.katzenpapst.amunra.block.IMetaBlock;
import de.katzenpapst.amunra.helper.BlockMassHelper;
import micdoodle8.mods.galacticraft.api.prefab.core.BlockMetaPair;
import net.minecraft.block.Block;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.network.NetworkManag... |
package io.qase.api.models.v1.team;
import lombok.Data;
@Data
@SuppressWarnings("unused")
public class User {
private String email;
private long id;
private String name;
private long status;
private String title;
}
|
import java.util.List;
interface Builder<T> {
T build();
}
interface Test<D extends Test<D, X>, X> {
static interface TestBuilder<D extends Test<D, X>, X> extends Builder<D> {}
}
interface Algorithm<T, B extends Builder<T>> {}
class SelectFromVariableType<X, T extends Test<T, X>>
implements Algorithm... |
package io.sphere.sdk.customers.queries;
import io.sphere.sdk.client.JsonEndpoint;
import io.sphere.sdk.customers.Customer;
import io.sphere.sdk.customers.expansion.CustomerExpansionModel;
import io.sphere.sdk.http.UriTemplate;
import io.sphere.sdk.http.UrlBuilder;
import io.sphere.sdk.queries.MetaModelGetDslBuilder;
... |
/*
* Copyright 2010-2019 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 "lice... |
package com.luck.picture.lib;
import android.content.Intent;
import android.content.res.ColorStateList;
import android.content.res.Resources;
import android.graphics.drawable.Drawable;
import android.net.Uri;
import android.os.Bundle;
import android.os.Parcelable;
import android.text.TextUtils;
import android.util.Log... |
import java.util.ArrayList;
import java.util.Collections;
import java.util.Scanner;
public class C {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
StringBuilder bild = new StringBuilder(sc.nextLine());
int letters = bild.length();
ArrayList<StringBuil... |
/*
* 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 may ... |
package module704packageJava0;
import java.lang.Integer;
public class Foo24 {
Integer int0;
public void foo0() {
new module704packageJava0.Foo23().foo3();
}
public void foo1() {
foo0();
}
public void foo2() {
foo1();
}
public void foo3() {
foo2();
}
}
|
package good;
public interface ISubcription {
final int ONE_YEAR_SUBSCRIPTION_FEE = 75;
double subscriptionPrice(int years);
}
|
package randoop;
import randoop.util.Log;
/**
* Means that the statement that this result represents completed normally.
*
* <p>Method r.getRuntimeVariable() returns the runtime value that the statement returns (null for
* void method calls).
*
* <p>IMPORTANT NOTE: The object returned by getRuntimeVariable() is... |
/*
* Copyright 2016-2018 shardingsphere.io.
* <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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... |
package me.planetology.dragondefend.listeners.game;
import me.planetology.dragondefend.DragonDefend;
import me.planetology.dragondefend.event.game.GameScoreboardUpdateEvent;
import org.bukkit.Bukkit;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.buk... |
package com.ruoyi.fund.mapper;
import com.ruoyi.fund.domain.FundInfo;
import com.ruoyi.fund.domain.FundInfoHold;
import com.ruoyi.fund.vo.FundInfoHoldVo;
import com.ruoyi.fund.vo.FundInfoVo;
import java.util.List;
/**
* 持有基金信息关联表Mapper接口
*
* @author ruoyi
* @date 2019-12-03
*/
public interface FundInfoHoldMapp... |
package com.slimgears.rxrepo.query.provider;
import com.google.auto.value.AutoValue;
import com.slimgears.rxrepo.expressions.ObjectExpression;
import com.slimgears.rxrepo.expressions.internal.CollectionPropertyExpression;
@AutoValue
public abstract class CollectionPropertyUpdateInfo<S, T, V> {
public enum Operati... |
/**
* Copyright (c) 2000-2021 Liferay, 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
*
* Unless required... |
package main.java.models;
public enum PokemonType {
BUG,
DARK,
DRAGON,
ELECTRIC,
FAIRY,
FIGHTING,
FIRE,
FLYING,
GHOST,
GRASS,
GROUND,
ICE,
NORMAL,
POISON,
PSYCHIC,
ROCK,
STEEL,
WATER
}
|
package com.hand.ide.plugin.aurora.psi.impl;
import com.hand.ide.plugin.aurora.lang.AuroraLanguage;
import com.intellij.psi.FileViewProvider;
import com.intellij.psi.PsiElement;
import com.intellij.psi.ResolveState;
import com.intellij.psi.impl.source.html.ScriptSupportUtil;
import com.intellij.psi.impl.source.xml.Xml... |
/*
* Copyright (c) 2018, Psikoi <https://github.com/Psikoi>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, thi... |
package com.prowidesoftware.swift;
import com.prowidesoftware.Generated;
/**
* Constants for qualifiers found in MTs starting with "1".
* <em>WARNING: These constants are automatically generated from SRU information
* they may change without entering the formal Prowide Deprecation Policy
* http://www.prowidesof... |
import java.util.*;
public class JGFInstrumentor{
private static Hashtable timers;
private static Hashtable data;
static {
timers = new Hashtable();
data = new Hashtable();
}
public static synchronized void addTimer (String name){
if (timers.containsKey(name)) {
System.out.println... |
/*
Animation For JavaFX.
*/
package projekt.animations;
import javafx.animation.KeyFrame;
import javafx.animation.KeyValue;
import javafx.animation.TimelineBuilder;
import javafx.scene.Node;
import javafx.util.Duration;
/*
Created on : Sep 13, 2014, 8:45:48 AM
Author : herudi-pc
*/
public class Fa... |
/*
* 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")... |
package com.lms.repositories;
import com.lms.entities.course.CourseQATag;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import java.util.List;
@Repository
public interface CourseQATagRepository extends JpaRepository<CourseQATag, Long> {
List<Cour... |
package com.scj.beilu.app.mvp.fit;
import android.content.Context;
import android.support.annotation.NonNull;
import com.mx.pro.lib.mvp.network.config.BaseMvpPresenter;
import com.mx.pro.lib.mvp.network.config.ShowConfig;
import com.scj.beilu.app.base.BaseResponseCallback;
import com.scj.beilu.app.mvp.base.BaseCheckA... |
package com.stocks_analyzer.app.android.common;
import android.app.Activity;
import android.app.Application;
import android.os.Bundle;
import java.lang.ref.WeakReference;
import java.util.ArrayList;
import java.util.List;
import java.util.Locale;
/**
* ライフサイクルコールバッククラス.
*
* @author chotto-martini
* @since 1.0.0 ... |
package org.jgroups.util;
import org.jgroups.*;
import org.jgroups.annotations.Component;
import org.jgroups.annotations.ManagedAttribute;
import org.jgroups.annotations.Property;
import org.jgroups.blocks.cs.Connection;
import org.jgroups.conf.ClassConfigurator;
import org.jgroups.jmx.JmxConfigurator;
import org.jgro... |
package video.pano.panocall.model;
import android.text.TextUtils;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;
import androidx.constraintlayout.widget.ConstraintLayout;
import com.pano.rtc.api.Constants;
import com.pano.rtc.api.RtcView;
import video.pano.RendererCommon;... |
/**
* Copyright (c) 2008-2020 Bird Dog Games, Inc.
*
* This file is part of Ardor3D.
*
* Ardor3D is free software: you can redistribute it and/or modify it
* under the terms of its license which may be found in the accompanying
* LICENSE file or at <https://git.io/fjRmv>.
*/
package com.ardor3d.extension.ui.mo... |
//
// ResourceServiceProvider.java
// blogwt
//
// Created by William Shakour on May 4, 2015.
// Copyright © 2015 WillShex Limited. All rights reserved.
//
package com.willshex.blogwt.server.service.resource;
import com.willshex.service.ServiceDiscovery;
/**
*
* @author William Shakour (billy1380)
*
*/
fin... |
package seedu.address.logic.parser;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.stream.Collectors;
/**
* Tokenizes arguments string of the form: {@code preamble <prefix>value <prefix>value ...}<br>
* e.g. {@code some preamble text t/ 11.00 t/12.00 k/ m/ July} wh... |
/*-
* #%L
* Genome Damage and Stability Centre SMLM ImageJ Plugins
*
* Software for single molecule localisation microscopy (SMLM)
* %%
* Copyright (C) 2011 - 2020 Alex Herbert
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as
... |
package game.elements;
import java.awt.*;
public abstract class Part implements Element {
private int x;
private int y;
public Part(int x, int y) {
this.x = x;
this.y = y;
}
public Part() {
this.x = 20;
this.y = 20;
}
public int getX() {
return x;... |
package com.easydiameter.dictionary.avp;
public class AVPOccurrence {
public static final int AVPOCC_OPTIONAL = 0;
public static final int AVPOCC_MANDATORY = 1;
public static final int AVPOCC_FIXED = 2;
private String avpName;
private int min;
private int ... |
package tutorial.lorence.template.view.activities.home;
import java.util.ArrayList;
import io.reactivex.disposables.Disposable;
import tutorial.lorence.template.data.storage.database.entities.Schedule;
/**
* Created by vuongluis on 4/14/2018.
*
* @author vuongluis
* @version 0.0.1
*/
public interface HomePrese... |
/*
* 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 ... |
/**
* Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose eith... |
/**********************************************************************
Copyright (c) 2003 Mike Martin and others. 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... |
/*
* Copyright (c) 2019 Red Hat, Inc.
*
* Red Hat licenses this file to you 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... |
/*
* Copyright 2016-2021 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... |
/*
* Copyright 2000-2009 JetBrains s.r.o.
*
* 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.xulu.fragment.internet.client;
import java.io.IOException;
import java.net.DatagramPacket;
import java.net.InetAddress;
import java.net.MulticastSocket;
import java.net.UnknownHostException;
public class MulticastClient
{
private MulticastSocket socket;
private String contentToCast;
//多点广播地... |
/*
* Copyright (c) 2010-2013 Evolveum and contributors
*
* This work is dual-licensed under the Apache License 2.0
* and European Union Public License. See LICENSE file for details.
*/
package com.evolveum.midpoint.repo.sql.data.common.id;
import java.io.Serializable;
/**
* @author lazyman
*/
public class RAs... |
package com.x.processplatform.assemble.designer.wrapout;
import java.util.ArrayList;
import java.util.List;
import com.x.base.core.entity.JpaObject;
import com.x.base.core.http.annotation.Wrap;
import com.x.processplatform.core.entity.element.Split;
@Wrap(Split.class)
public class WrapOutSplit extends Split {
priv... |
package com.echo.isles.community.entity;
import lombok.Data;
import java.util.Date;
@Data
public class LoginTicket {
private int id; // 主键
private int userId; // 用户 id
private String ticket; // token 内容
private int status; // 0-有效 1-无效
private Date expired; ... |
package com.lavasoft;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import javax.xml.bind.annotation.XmlSeeAlso;
/**
* This class was generated by Apache CXF 3.3.7
* 2020-07-19T03:44:22.048+03:00
* Generated source... |
/*
* JBoss, Home of Professional Open Source.
* Copyright 2006, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify i... |
/*
* Generated by the Jasper component of Apache Tomcat
* Version: JspC/ApacheTomcat8
* Generated at: 2017-11-19 09:32:58 UTC
* Note: The last modified time of this file was set to
* the last modified time of the source file after
* generation to assist with modification tracking.
*/
package org.jive... |
//,temp,TcpFaultyTransportFactory.java,48,64,temp,NIOSSLTransportFactory.java,89,107
//,3
public class xxx {
protected Transport createTransport(URI location, WireFormat wf) throws UnknownHostException, IOException {
URI localLocation = null;
String path = location.getPath();
// see if the p... |
package kamoncust.application.com.model;
import java.io.Serializable;
public class perpesanan implements Serializable {
private static final long serialVersionUID = 1L;
int id, id_produk, from_id, total_unread;
String kode, nama, gambar, tanggal, pesan, from_nama, from_photo;
public perpesanan(int id, int id_p... |
/*
* Copyright 2000-2009 JetBrains s.r.o.
*
* 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... |
/*
* Copyright 2020 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 ... |
package be.intec.services.flow;
import be.intec.models.entities.*;
import java.sql.*;
import java.util.*;
import be.intec.services.exceptions.*;
import be.intec.repositories.*;
public class AnswersService {
private final AnswersRepository repository;
public AnswersService() {
this.repository = ... |
package com.magic.szh.cnf_168p2p.content.home;
import android.content.Context;
import android.support.v7.widget.AppCompatImageView;
import android.view.View;
import com.bigkoo.convenientbanner.holder.Holder;
import com.bumptech.glide.Glide;
import com.bumptech.glide.request.RequestOptions;
import com.magic.szh.cnf_16... |
package com.gw.container;
import com.gw.container.common.ActionMapUtil;
import com.gw.container.model.BaseResponse;
import com.gw.container.starter.FilterHelperV2;
import org.springframework.context.ApplicationContext;
public class ServiceContainer {
public static BaseResponse service(SCContext scContext, Applica... |
/******************************************************************************
* Compilation: javac BinaryOut.java
* Execution: java BinaryOut
* Dependencies: none
*
* Write binary data to an output stream, either one 1-bit boolean,
* one 8-bit char, one 32-bit int, one 64-bit double, one 32-bit float,
... |
package ru.job4j.inputoutput.pack;
import ru.job4j.tracker.start.*;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.util.Arrays;
import java.util.LinkedList;
import java.util.zip.ZipEntry;
import java.util.zip.ZipOutputStream;
/**
* @author Khan Vyacheslav (mailto: beckk... |
// Copyright 2020 Goldman Sachs
//
// 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 ... |
/*
* Copyright 2020 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 ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.