text stringlengths 7 995k |
|---|
package examples.jdk6.concurrency;
//: concurrency/CountDownLatchDemo.java
import java.util.concurrent.*;
import static examples.jdk6.net.mindview.util.Print.*;
import java.util.*;
// Performs some portion of a task:
class TaskPortion implements Runnable {
private static int counter = 0;
private final int id = c... |
/*
* MIT License
*
* Copyright (c) 2022 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... |
package com.sd.lib.uniplugin.common.response;
public class DataResponse<T> extends JSResponse
{
private final T data;
public DataResponse(T data)
{
this.data = data;
}
public T getData()
{
return data;
}
} |
/**
* 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... |
package com.ruoyi.project.system.user.mapper;
import com.ruoyi.project.common.mapper.BaseMapper;
import com.ruoyi.project.system.user.domain.User;
import java.util.List;
/**
* 用户表 数据层
*
* @author ruoyi
*/
public interface UserMapper
{
/**
* 根据条件分页查询用户对象
*
* @param user 用户信息
* @return 用... |
package aQute.bnd.osgi.resource;
public enum ResolutionDirective {
mandatory,
optional;
} |
package org.uma.jmetal.lab.plot.impl;
import tech.tablesaw.plotly.Plot;
import tech.tablesaw.plotly.components.Figure;
import tech.tablesaw.plotly.traces.BoxTrace;
public class BoxPlot {
public static void main(String[] args) {
Object[] x = {
"sheep",
"cows",
"fish",
"tree sloths",
... |
package com.stylefeng.guns.rest.service.impl;
import com.alibaba.dubbo.config.annotation.Reference;
import com.alibaba.dubbo.config.annotation.Service;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.stylefeng.guns.rest.bean.PromoProducer;
import com.stylefeng.guns.rest.common.exception.CinemaExceptio... |
package net.unit8.amagicman.mojo;
import org.junit.jupiter.api.Test;
import java.io.File;
/**
* @author kawasima
*/
class BuildTemplateMojoTest {
@Test
void test() throws Exception {
BuildTemplateMojo mojo = new BuildTemplateMojo();
mojo.distribution = new File(getClass().getResource("/dist... |
package com.codigoton.reto1.web.controller;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.PrintWriter;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
impo... |
/*
* The MIT License
* Copyright © 2014-2021 Ilkka Seppä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, copy... |
/*
* 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 io.github.uchagani.jp.configs;
import com.microsoft.playwright.APIRequest;
import io.github.uchagani.jp.PlaywrightRestConfig;
import io.github.uchagani.jp.RestConfig;
public class SpecificRestConfig implements PlaywrightRestConfig {
@Override
public RestConfig getRestConfig() {
return new Rest... |
/*
* 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 walker.protocol.message;
public interface TimeoutMessage {
} |
package test.model;
import static org.junit.Assert.*;
import main.fsms.FlipFlopFSM;
import main.model.FSM;
import main.model.FixedSizeLoom;
import main.model.Loom;
import org.junit.Test;
public class LoomTest {
@Test
public void addNullFsm_LoomTest () {
Loom lm = new FixedSizeLoom();
FSM fsm = null;
assert... |
/*
* 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 xin.lingchao.java.leetcode.lcof._30;
import static org.junit.jupiter.api.Assertions.assertEquals;
import org.junit.jupiter.api.Test;
public class MinStackTest {
@Test
public void testMinStack() {
MinStack minStack = new MinStack();
minStack.push(-2);
minStack.push(0);
m... |
/*
* 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 n... |
package summary;
import ictclas.NlpirMethod;
import summary.stopword.StopWordDictionary;
import summary.unit.Term;
import java.util.ArrayList;
import java.util.List;
import java.util.ListIterator;
/**
* 提取关键词的基类
*
* @author Ockone
*/
public abstract class KeywordExtractor
{
/**
* 默认分词器NLPIR-ICTCLAS
... |
package com.netease.nim.uikit.contact.core.model;
import android.text.TextUtils;
import com.netease.nim.uikit.contact.core.item.AbsContactItem;
import com.netease.nim.uikit.contact.core.item.LabelItem;
import com.netease.nim.uikit.contact.core.query.TextQuery;
import java.util.ArrayList;
import java.util.Collections... |
/**
* Copyright 2011-2021 Asakusa Framework Team.
*
* 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 com.stavshamir.swagger4kafka.services;
import com.google.common.collect.Sets;
import com.stavshamir.swagger4kafka.configuration.Docket;
import com.stavshamir.swagger4kafka.dtos.KafkaEndpoint;
import com.stavshamir.swagger4kafka.endpoints.consumers.KafkaConsumerClass;
import org.junit.Test;
import org.junit.run... |
package net.rubyeye.xmemcached.transcoders;
import java.io.*;
import java.util.zip.DeflaterOutputStream;
import java.util.zip.GZIPInputStream;
import java.util.zip.GZIPOutputStream;
import java.util.zip.InflaterInputStream;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* Base class for any transcoders... |
package scouts.cne.pt.app;
import org.apache.commons.io.FileUtils;
import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.scheduling.annotation.Scheduled;
import java.net.MalformedURLException;
import java.net.URL;
imp... |
package examples.basics.immutable.redux;
import java.util.Objects;
public abstract class BetterAbstractAnimal {
private String name;
private int age;
protected BetterAbstractAnimal(AbstractBuilder<?> builder) {
name = Objects.requireNonNull(builder.name);
age = builder.age;
}
... |
/**
* 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... |
/*
* $Id: DictionarySizesV1ToV3.java 536 2008-02-19 06:03:27Z weiju $
*
* Created on 2006/01/19
* Copyright 2005-2008 by Wei-ju Wu
* This file is part of The Z-machine Preservation Project (ZMPP).
*
* ZMPP is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public Li... |
package com.alipay.api.request;
import com.alipay.api.domain.AlipayPcreditHuabeiAuthAccumulationQueryModel;
import java.util.Map;
import com.alipay.api.AlipayRequest;
import com.alipay.api.internal.util.AlipayHashMap;
import com.alipay.api.response.AlipayPcreditHuabeiAuthAccumulationQueryResponse;
import com.alipay.a... |
/*
* 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.flowci.core.agent.event;
import lombok.Getter;
public class OnCmdOutEvent extends EventFromClient {
@Getter
private final byte[] raw;
public OnCmdOutEvent(Object source, byte[] raw) {
super(source, null, null);
this.raw = raw;
}
} |
/*
* JavaSMT is an API wrapper for a collection of SMT solvers.
* This file is part of JavaSMT.
*
* Copyright (C) 2007-2016 Dirk Beyer
* 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 ... |
//| Copyright - The University of Edinburgh 2011 |
//| |
//| Licensed under the Apache License, Version 2.0 (the "License"); |
//| you may not use this file except in compliance with the License. |
//| You ... |
@RestrictTo(LIBRARY)
package arsenic.support.lottie.model.animatable;
import android.support.annotation.RestrictTo;
import static android.support.annotation.RestrictTo.Scope.LIBRARY; |
public void test01() throws Throwable {
SupportingDocument supportingDocument0 = new SupportingDocument();
supportingDocument0.setTitle("YE11oXp)1A4;");
supportingDocument0.setDocumentCode("-");
SupportingDocument supportingDocument1 = new SupportingDocument();
User user0 = new User();
... |
package com.bestaone.hiauth.core.exception;
public class ArgumentException extends CommonException {
public ArgumentException(Integer code, String message) {
super(code, message);
}
public ArgumentException(Integer code, String message, Throwable cause) {
super(code, message, cause);
... |
package dev.dworks.apps.anexplorer;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import com.google.android.material.appbar.AppBarLayout;
import androidx.appcompat.widget.Toolbar;
import dev.dworks.apps.anexplorer.common.ActionBarActivity;
import dev... |
package com.github.thinwonton.mybatis.metamodel.core.gen;
import com.github.thinwonton.mybatis.metamodel.core.annotation.GenMetaModel;
import com.github.thinwonton.mybatis.metamodel.core.util.ClassWriterUtils;
import com.github.thinwonton.mybatis.metamodel.core.util.GenerateUtils;
import javax.annotation.processing.A... |
package edu.miu.groupx.payment.paymentservice.model.enums;
public enum BankCaller {
BANK_PAYMENT_URI("/bank/make-payment");
private String bankApiUri;
public String getBankApiUri() {
return this.bankApiUri;
}
private BankCaller(String bankApiUri) {
this.bankApiUri = bankApiUri;
... |
/*
* Copyright 2022 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... |
package com.simibubi.create.content.logistics.block.funnel;
import com.mojang.blaze3d.matrix.MatrixStack;
import com.simibubi.create.content.logistics.block.funnel.BeltFunnelBlock.Shape;
import com.simibubi.create.foundation.tileEntity.behaviour.ValueBoxTransform;
import com.simibubi.create.foundation.utility.AngleHel... |
package com.firefly.utils;
import com.firefly.entity.power.*;
import com.firefly.repository.power.MenuFuncRepository;
import com.firefly.repository.power.RoleMenuRepository;
import com.firefly.repository.power.UserRoleRepository;
import java.util.ArrayList;
import java.util.List;
/**
* @Author fly
* @Date 2019/6/1... |
// Licensed to Cloudera, Inc. under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. Cloudera, Inc. licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use this f... |
package org.mapfish.print.config;
import java.net.URI;
import org.apache.commons.httpclient.HttpClient;
import org.apache.commons.httpclient.UsernamePasswordCredentials;
import org.apache.commons.httpclient.auth.AuthScope;
public class BasicAuthSecurity extends SecurityStrategy {
String username = null;
Str... |
package fwcd.whiteboard.client.model.overlay;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.function.Consumer;
import fwcd.fructose.EventListenerList;
import fwcd.sketch.model.items.BoardItemStack;
import fwcd.sketch.model.items.SketchItem;
public... |
package seedu.address.storage;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static seedu.address.storage.JsonAdaptedPerson.MISSING_FIELD_MESSAGE_FORMAT;
import static seedu.address.testutil.Assert.assertThrows;
import static seedu.address.testutil.TypicalPersons.BENSON;
import java.util.ArrayLi... |
package com.huan.redisstat.common;
import org.springframework.security.core.context.SecurityContextHolder;
import org.springframework.security.core.userdetails.UserDetails;
/**
* Created with IntelliJ IDEA.
*
* @author : lihuan
* @date : 2021-02-01 13:00
*/
public class SystemUtils {
public static UserDetai... |
/*
* Copyright (C) 2008 The Android Open Source Project
*
* 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... |
/*******************************************************************************
*
* Pentaho Data Integration
*
* Copyright (C) 2002-2012 by Pentaho : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version 2.0 (the ... |
/*
* 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 n... |
/*
* Copyright (c) 2008, Niclas Hedhman. 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 applicable ... |
package com.nex3z.flowlayout.flowlayout;
import android.content.Context;
import androidx.test.InstrumentationRegistry;
import androidx.test.runner.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumentation test, which will execute on an Android de... |
/*
* Copyright (C) 2021 Erwin Müller <erwin@muellerpublic.de>
* Released as open-source under the Apache License, Version 2.0.
*
* ****************************************************************************
* ANL-OpenCL :: JME3 - App - JavaFX
* ********************************************************************... |
/*
* WSO2 API Manager - Publisher API
* This specifies a **RESTful API** for WSO2 **API Manager** - Publisher. Please see [full swagger definition](https://raw.githubusercontent.com/wso2/carbon-apimgt/v6.0.4/components/apimgt/org.wso2.carbon.apimgt.rest.api.publisher/src/main/resources/publisher-api.yaml) of the API... |
package com.alvis.exam.configuration.spring.security;
import com.alvis.exam.base.SystemCode;
import com.alvis.exam.context.WebContext;
import com.alvis.exam.domain.User;
import com.alvis.exam.domain.UserEventLog;
import com.alvis.exam.event.UserEvent;
import com.alvis.exam.service.UserService;
import lombok.AllArgsCon... |
/*******************************************************************************
* Copyright (c) 2015-2018 Skymind, Inc.
*
* This program and the accompanying materials are made available under the
* terms of the Apache License, Version 2.0 which is available at
* https://www.apache.org/licenses/LICENSE-2.0.
*
*... |
package org.datadog.jmxfetch;
import java.io.IOException;
import java.util.LinkedHashMap;
import org.apache.log4j.Logger;
/**
* Singleton used to create connections to the MBeanServer
*/
public class ConnectionFactory {
private final static Logger LOGGER = Logger.getLogger(ConnectionFactory.class.getName());
... |
package com.mojang.minecraft.gui;
import com.mojang.minecraft.renderer.Tesselator;
import com.mojang.minecraft.renderer.Textures;
import java.awt.image.BufferedImage;
import java.io.IOException;
import javax.imageio.ImageIO;
import org.lwjgl.opengl.GL11;
public class Font {
private int[] charWidths = new int[256]... |
/*
* Copyright 2017 Nafundi
*
* 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 writi... |
/*
* Copyright (c) 2017, Robin <robin.weymans@gmail.com>
* 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, this
... |
/**
*
*/
package com.perforce.p4java.option.server;
import java.util.List;
import com.perforce.p4java.core.IChangelist;
import com.perforce.p4java.exception.OptionsException;
import com.perforce.p4java.option.Options;
import com.perforce.p4java.server.IServer;
/**
* Options class for the IOptionsServer getInterc... |
/*
* Copyright 2016-present Open Networking Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appli... |
package ru.snake.jsdb.lib.db.visitor;
import java.sql.SQLException;
import java.util.Optional;
import java.util.function.Consumer;
import ru.snake.jsdb.lib.error.ScriptExecutionException;
import ru.snake.jsdb.lib.flow.DbResult;
import ru.snake.jsdb.lib.flow.DbSource;
import ru.snake.jsdb.lib.flow.DbVisitor;
public f... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
package com.microsoft.commondatamodel.objectmodel.cdm.resolution;
import com.microsoft.commondatamodel.objectmodel.TestHelper;
import com.microsoft.commondatamod... |
/*
* JBoss, Home of Professional Open Source
* Copyright 2015, Red Hat, Inc. and/or its affiliates, and individual
* contributors by the @authors tag. See the copyright.txt in the
* distribution for a full listing of individual contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* y... |
package de.bertilmuth.javadataclass.generate;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.io.Writer;
import java.util.Collection;
import java.util.HashMap;
import java.util.Map;
import de.bertilmuth.javadataclass.model.ClassSpecification;
import freemarker.template.Configur... |
/*
* Copyright The Original Author or Authors
* SPDX-License-Identifier: Apache-2.0
*/
package io.jenkins.plugins.elasticstacklogs.config;
import java.io.IOException;
import edu.umd.cs.findbugs.annotations.NonNull;
import io.jenkins.plugins.elasticstacklogs.input.Input;
import io.jenkins.plugins.elasticstacklogs.in... |
/*
* Copyright (c) 2018 Ahome' Innovation Technologies. 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
*
* Un... |
package com.chxd.policeDog.ueditor.define;
/**
* 处理状态接口
* @author hancong03@baidu.com
*
*/
public interface State {
public boolean isSuccess();
public void putInfo(String name, String val);
public void putInfo(String name, long val);
public String toJSONString();
} |
/**
* generated by Xtext 2.18.0
*/
package org.xtext.example.mydsl.myDsl;
import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Postgre SQL</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{... |
package com.exampleupgradedrn;
import android.app.Application;
import android.content.Context;
import com.facebook.react.PackageList;
import com.facebook.react.ReactApplication;
import com.facebook.react.ReactNativeHost;
import com.facebook.react.ReactPackage;
import com.facebook.soloader.SoLoader;
import java.lang.re... |
/*
* 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 cn.like.netty.rpc.server.config;
import cn.like.netty.common.message.dispatcher.MessageContainer;
import cn.like.netty.common.message.dispatcher.MessageDispatcher;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
@Configuration
public class Netty... |
package com.ruoyi.project.kwswitch.mqtt;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.ruoyi.common.utils.DateUtils;
import com.ruoyi.common.utils.StringUtils;
import com.ruoyi.project.kwswitch.document.KwSwitchLog;
import com.ruoyi.project.kwswitch.domain.KwSwitch;
import com.ru... |
//
// ========================================================================
// Copyright (c) 1995-2017 Mort Bay Consulting Pty. Ltd.
// ------------------------------------------------------------------------
// All rights reserved. This program and the accompanying materials
// are made available under the ter... |
package com.tom.hash;
public class LFUCache<K,V> {
} |
package com.github.haroldjcastillo.business.exception;
public class BusinessException extends Exception {
private static final long serialVersionUID = -6815950228840435473L;
public BusinessException() {
super();
}
public BusinessException(String message, Throwable cause, boolean enableSuppression, boolean wri... |
package it.polimi.ingsw.Network.Server;
import it.polimi.ingsw.Network.Message.Message;
import it.polimi.ingsw.Network.Message.Update;
import it.polimi.ingsw.Network.Message.ServerUpdate.UpdateError;
import it.polimi.ingsw.Network.Message.ServerUpdate.UpdateRequestLogin;
import it.polimi.ingsw.Network.Server.UpdateSen... |
package async.net.socket;
import java.io.Closeable;
import java.io.IOException;
public interface ServerSocket extends Closeable {
Socket accept() throws IOException;
} |
package utils;
import javafx.scene.paint.Color;
public class Colour {
private final static int BLACK_CODE = 9;
private final static int WHITE_CODE = 0;
public final static Colour BLACK = new Colour(BLACK_CODE);
public final static Colour WHITE = new Colour(WHITE_CODE);
private final int colourCo... |
// Copyright 2019 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
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writi... |
package module0862.a;
import javax.naming.directory.*;
import javax.net.ssl.*;
import javax.rmi.ssl.*;
/**
* Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut
* labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et e... |
/*
* 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 writing, software
* distribut... |
package com.didichuxing.datachannel.agentmanager.common.bean.domain;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
*
*
* @author d06679
* @date 2019/3/13
*/
@Data
public class BaseDO implements Serializable {
/**
* 创建时间
*/
private Date createTime;
/**
* ... |
/**
* This code was generated by
* \ / _ _ _| _ _
* | (_)\/(_)(_|\/| |(/_ v1.0.0
* / /
*/
package com.twilio.rest.preview.wireless;
import com.twilio.base.Creator;
import com.twilio.converter.Promoter;
import com.twilio.exception.ApiConnectionException;
import com.twilio.exception.ApiExcepti... |
/*
* Copyright 2002-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 ap... |
package com.hc.hyh.system.dao;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.hc.hyh.system.model.User;
public interface UserMapper extends BaseMapper<User> {
User getByUsername(String username);
} |
package spelling;
import java.util.LinkedList;
/**
* A class that implements the Dictionary interface using a LinkedList
*/
public class DictionaryLL implements Dictionary {
private final LinkedList<String> dict = new LinkedList<>();
/**
* Add this word to the dictionary. Convert it to lowercase fir... |
/*
* Copyright 2002-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 ap... |
package com.wyverngame.anvil.api.client.event;
import com.wyverngame.anvil.api.event.Event;
public final class OpenPortalMapEvent extends Event<Void> {
} |
/*
* =============================================================================
*
* Copyright (c) 2011-2016, The THYMELEAF team (http://www.thymeleaf.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 ... |
package edu.ecnu.touchstone.run;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Arrays;
public class CodeLineCounter {
public static void main(String[] args) throws Exception {
File[] pack... |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2019.07.28 at 05:34:4... |
package edu.cs4730.servicedemo;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.lang.reflect.Method;
import java.net.HttpURLConnection;
import java.net.URI;
import java.net.URL;
import java.util.Objects;
import android.app.IntentService;
impor... |
package com.test.enums;
public enum AppointStateEnum {
SUCCESS(1,"预约成功"),NO_NUMBER(0,"库存不足"),REPEAT_APPOINT(-1,"重复预约"),INNER_ERROR(-2,"系统异常");
private int state;
private String stateInfo;
private AppointStateEnum(int state, String stateInfo) {
this.state = state;
this.stateInfo = stateInfo;
}
public... |
package mage.cards.c;
import mage.abilities.Ability;
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
import mage.abilities.common.SimpleStaticAbility;
import mage.abilities.effects.common.AttachEffect;
import mage.abilities.effects.common.TapEnchantedEffect;
import mage.abilities.effects.common.continu... |
/*
* Copyright 2017 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 may ... |
package com.mhl.jcartadministrationback.service;
import com.github.pagehelper.Page;
import com.mhl.jcartadministrationback.dto.in.ReturnSearchInDTO;
import com.mhl.jcartadministrationback.po.Return;
public interface ReturnService {
Page<Return> search(ReturnSearchInDTO returnSearchInDTO, Integer pageNum);
Re... |
package com.mediafire.sdk.response_models.file;
import com.mediafire.sdk.response_models.ApiResponse;
public class FileCopyResponse extends ApiResponse {
private int skipped_count;
private int other_count;
private int device_revision;
private String[] new_quickkeys;
public int getSkippedCount()... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.