text stringlengths 7 1.01M |
|---|
package edu.birzeit.fall2014.encs539.id1110600.hungrycat;
import java.util.Random;
/**
* Created by Mohammad Kabajah on 08/11/2014.
* This class implements the dog.
* The dog shows its position on the board
* can easily check for collisions.
*/
public class Dog extends Drifter{
static Random random = new Random... |
package com.kaka.net.http.annotation;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
*
* @author zkpursuit
*/
@Target(value = {ElementType.TYPE})
@Retention(... |
/*
* Copyright 2014 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 ... |
/*
* Copyright 2017-2021 original authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... |
/*
* Copyright (c) 2021 SAP SE or an SAP affiliate company. All rights reserved.
*/
package com.mkysoft.hybris.constants;
/**
* Global class for all Redirect constants. You can add global constants for your extension into this class.
*/
public final class RedirectConstants extends GeneratedRedirectConstants
{
pub... |
package io.antmedia.ipcamera.onvifdiscovery;
import java.io.IOException;
import java.net.URL;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
/**
* @author th
* @date 2015-06-18
*/
public class OnvifDiscovery {
public static List<URL> discoverOnvifDevices(boolean useIpv4, ArrayLis... |
// Copyright (c) 2003-2013, Jodd Team (jodd.org). All Rights Reserved.
package jodd.db.connection;
import jodd.db.DbSqlException;
import javax.sql.XADataSource;
import javax.sql.XAConnection;
import java.sql.Connection;
import java.sql.SQLException;
/**
* DataSource connection provider.
*/
public class XADataSour... |
package resources;
public final class CellShapes {
public static final int RECTANGULAR = 4;
public static final int HEXAGONAL = 6;
public static final int TRIANGULAR = 3;
public static final int DEFAULT = 0;
}
|
/*
* Copyright (C) 2012 Zach Melamed
*
* Latest version available online at https://github.com/zach-m/jonix
* Contact me at zach@tectonica.co.il
*
* 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 L... |
package backtype.storm.utils;
public class MutableObject {
Object o = null;
public MutableObject() {
}
public MutableObject(Object o) {
this.o = o;
}
public void setObject(Object o) {
this.o = o;
}
public Object getObject() {
return o;
}
}
|
package com.cordys.coe.util.cgc.config;
/**
* This class holds the details when using Cordys Custom Authentication.
*
* @author pgussow
*/
public class CordysCustomAuthenticationImpl extends UsernamePasswordAuthentication
implements ICordysCustomAuthentication
{
/**
* Holds the current WCP... |
/*
* Copyright [2019] [shuwei.wang (c) wswill@foxmail.com]
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unle... |
package com.gmail.stefvanschiedev.buildinggame.events.softdependencies;
import com.gmail.stefvanschiedev.buildinggame.managers.arenas.ArenaManager;
import com.gmail.stefvanschiedev.buildinggame.utils.arena.Arena;
import com.sk89q.worldedit.WorldEditException;
import com.sk89q.worldedit.event.extent.EditSessionEvent;
i... |
package cn.linter.learning.auth;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
/**
* 认证服务测试类
*
* @author wangxiaoyang
* @since 2020/11/01
*/
@SpringBootTest
public class AuthApplicationTests {
@Test
void contextLoads() {
}
}
|
/*
* 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 org.ovirt.engine.core.utils;
import java.io.File;
import java.io.FileInputStream;
import java.io.InputStream;
import java.security.cert.Certificate;
import java.security.cert.CertificateEncodingException;
import java.security.cert.CertificateFactory;
import org.apache.commons.codec.binary.Base64;
import org.o... |
package com.kino.gulimall.member.service.impl;
import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.kin... |
package examples.alloy;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
import kodkod.ast.Expression;
import kodkod.ast.Formula;
import kodkod.ast.Relation;
import kodkod.ast.Variable;
import kodkod.engine.Solution;
import kodkod.engine.Solver;
import kodkod.engine.satlab.SATFactory;
impor... |
/*
* Copyright 2012 The Netty Project
*
* The Netty Project 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 ... |
/**
* 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.cubic.agent.factory;
/**
* @ClassName Task
* @Author QIANGLU
* @Date 2020/4/21 10:17 上午
* @Version 1.0
*/
public interface Task {
String getId();
void execute();
void cancel();
}
|
package com.langmy.terminal.common.entity;
// Generated 2015-2-3 18:18:41 by Hibernate Tools 4.3.1
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import ja... |
package com.example.parsaniahardik.selectimage2018;
import android.Manifest;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.Toast;
import com.karumi.dexter.Dexter;
import com.karumi.dexter.MultiplePermissionsReport;
import com.karumi.dexter.PermissionToken;
import com... |
/*
* Copyright (c) 2008-2013, Matthias Mann
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright notice,
* this... |
package edu.isi.karma.common;
/**
* Class HttpMethods
*
* This class is to replace a simple enum used in Jetty for just referring to the constants for HTTP requests.
*
* @since 01/21/2014
*/
public enum HttpMethods
{
GET, POST
}
|
/*
* Copyright (c) 2018 Waritnan Sookbuntherng
*
* 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, modify, mer... |
package com.impetus.client.crud.autogeneratedid;
import java.io.Serializable;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persi... |
package com.nsc.designpattern.behavioral.strategy;
/**
* Strategy design pattern is used where we choose a specific implementation of algorithm or task in run time
* In general, when we have multiple implementation of same interface
* <p>
* Strategy design pattern has following participants
* 1. Strategy
* 2. Co... |
/**
* Copyright 2014 SAP AG
*
* 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... |
/*
* Copyright 2018-Present The CloudEvents Authors
* <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>
* Unless required by ... |
package de.dytanic.cloudnet.network.listener;
import de.dytanic.cloudnet.CloudNet;
import de.dytanic.cloudnet.cluster.IClusterNodeServer;
import de.dytanic.cloudnet.driver.network.INetworkChannel;
import de.dytanic.cloudnet.driver.network.def.packet.PacketClientServerChannelMessage;
import de.dytanic.cloudnet.driver.n... |
// Copyright 2021 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 ... |
// Generated from /Users/royce/Idea/src/main/antlr/Apex.g4 by ANTLR 4.7
package com.ncino.apex.grammar;
import org.antlr.v4.runtime.Lexer;
import org.antlr.v4.runtime.CharStream;
import org.antlr.v4.runtime.Token;
import org.antlr.v4.runtime.TokenStream;
import org.antlr.v4.runtime.*;
import org.antlr.v4.runtime.atn.*;... |
package io.github.com.pages.sections;
import com.epam.jdi.light.angular.elements.complex.RadioButtons;
import com.epam.jdi.light.elements.composite.Section;
import com.epam.jdi.light.ui.html.elements.common.Text;
public class RadioButtonSection extends Section {
public static RadioButtons basicRadioGroup;
p... |
package com.feeyo.net.http.handler;
import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ExecutorService;
import java... |
/*
* 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 ambroafb.params_general.dialog;
import ambroafb.general.editor_panel.EditorPanel;
import ambroafb.general.interfaces.DialogCon... |
package org.wso2.developerstudio.eclipse.gmf.esb.diagram.providers.assistants;
import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;
import org.eclipse.core.runtime.IAdaptable;
import org.eclipse.gmf.runtime.diagram.ui.editparts.IGraphicalEditPart;
import org.eclipse.gmf.runtime.emf.type.cor... |
begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1
begin_comment
comment|// Copyright (C) 2017 The Android Open Source Project
end_comment
begin_comment
comment|//
end_comment
begin_comment
comment|// Licensed under the Apache License, Version 2.0 (the "License");
end_comment
begin_comment
comment|// you m... |
package io.quarkus.mailer;
import javax.enterprise.inject.spi.DeploymentException;
import javax.inject.Inject;
import javax.inject.Singleton;
import org.jboss.shrinkwrap.api.ShrinkWrap;
import org.jboss.shrinkwrap.api.asset.StringAsset;
import org.jboss.shrinkwrap.api.spec.JavaArchive;
import org.junit.jupiter.api.As... |
/*
* 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.packt.neuralnet;
import edu.packt.neuralnet.data.NeuralDataSet;
import edu.packt.neuralnet.learn.Backpropagation;
import e... |
package org.jeecg.modules.dsp.controller;
import java.util.*;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.jeecg.common.api.vo.Result;
import org.jeecg.common.system.query.QueryGenerator;
import org.jeecg.modules.dsp.entity.DspTree;
import org.jeecg.modules.ds... |
package br.sistema.crud.jdbc.dto;
public class LoginDTO {
private Integer id;
private String nome;
private String senha;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getNome() {
return nome;
}
public void setNome(String nome) {
this.nome = nome... |
package com.amosbo.maven.utis.bitmap;
import android.annotation.SuppressLint;
import android.app.Activity;
import android.content.ContentValues;
import android.content.Context;
import android.content.Intent;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Canvas;
import a... |
package viethoa.com.fastcroll.alphabet;
import java.util.ArrayList;
import java.util.List;
/**
* Created by VietHoa on 07/10/15.
*/
public class DataHelper {
public static List<String> getAlphabetData() {
return new ArrayList<String>() {{
add("A item 1");
add("A item 1");
... |
package com.qdxx.editviewgroupdemo.activity;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.ViewGroup;
import android.widget.RelativeLayout;
import com.qdxx.editviewgroupdemo.R;
import com.qdxx.editviewgroupdemo.view.EditViewGroupSecond;
public class MainActivity exten... |
/*
* ApplicationInsights-Java
* Copyright (c) Microsoft Corporation
* All rights reserved.
*
* MIT License
* 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, inclu... |
/*
* Copyright (C) 2018 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... |
package ar.com.simbya.jiraassistant.models;
import java.io.Serializable;
import java.util.List;
public class IssueModel implements Serializable {
String id;
String self;
String key;
FieldModel fields;
public String getId() {
return id;
}
public void setId(String id) {
th... |
package leetcode.biweekly_contests.biweekly_13;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
public class P_1257 {
public String findSmallestRegion(List<List<String>> regions, String region1, String region2) {
final Map<String, Str... |
package com.test_32817;
import com.facebook.react.ReactActivity;
public class MainActivity extends ReactActivity {
/**
* Returns the name of the main component registered from JavaScript. This is used to schedule
* rendering of the component.
*/
@Override
protected String getMainComponentName() {
... |
/*
* Copyright (c) 2010-2016 William Bittle http://www.dyn4j.org/
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are permitted
* provided that the following conditions are met:
*
* * Redistributions of source code must retain the above cop... |
/* ====================================================================
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 Y... |
/*
* Copyright (c) 2008-2021, 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 ... |
/*
* Copyright (c) 2017, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. 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/li... |
package com.example.adapter.interfaces.use;
public class SourceSub1 extends AbsSourceWrapper {
@Override
public void function1() {
super.function1();
}
}
|
package com.roxiemobile.networkingapi.network.rest.interceptor;
import com.roxiemobile.networkingapi.network.http.ContentCodingType;
import com.roxiemobile.networkingapi.network.http.HttpHeaders;
import java.io.IOException;
import okhttp3.Interceptor;
import okhttp3.MediaType;
import okhttp3.Request;
import okhttp3.... |
package refinedstorage.tile.data;
public interface ITileDataListener<T> {
void onChanged(TileDataParameter<T> parameter);
}
|
/*
* Copyright 2019 JBoss by Red Hat.
*
* 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 org.zalando.nakadi.service;
import com.google.common.base.Strings;
import com.google.common.collect.ImmutableMap;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.zalando.nakadi.domain.EventType;
import org.zalando.nakadi.domain.ResourceAu... |
package com.danymany.minerutils.configuration;
import net.minecraftforge.common.config.Configuration;
import java.io.File;
public class ConfigurationHandler
{
public static void init(File configFile)
{
Configuration configuration = new Configuration(configFile);
boolean itemInit = true;
... |
/*
* Copyright 2015-present Open Networking Laboratory
*
* 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 cn.ac.dicp.group1809.utilities.uniprot_reader.xml.model.group.bpcCommentGroup;
import javax.xml.bind.annotation.XmlElement;
/**
* Describes different types of biophysicochemical properties.
*
* <pre>
* <group name="bpcCommentGroup">
* <annotation>
* <documentation>Des... |
/**
* Copyright (C) Grzegorz Skorupa 2020.
* Distributed under the MIT License (license terms are at http://opensource.org/licenses/MIT).
*/
package com.signomix.event;
import org.cricketmsf.microsite.user.UserEvent;
/**
*
* @author greg
*/
public class SignomixUserEvent extends UserEvent {
public static f... |
package com.julius.base.organization.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import ja... |
package com.mgcloud.utils;
import java.text.SimpleDateFormat;
import java.util.Date;
/**
* 日期处理
* <p>
* tzen@e-veb.com
*/
public class DateUtils {
/**
* 时间格式(yyyy-MM-dd)
*/
public final static String DATE_PATTERN = "yyyy-MM-dd";
/**
* 时间格式(yyyy-MM-dd HH:mm:ss)
*/
public final... |
package com.ucv.codetech.model;
import lombok.Getter;
import lombok.Setter;
import javax.persistence.*;
import java.time.LocalDateTime;
@Entity
@Table(name = "comments")
@Setter
@Getter
public class Comment {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Long id;
@ManyToOne(fetch ... |
package com.codetho.photocollage.utils;
import android.graphics.Bitmap;
import android.net.Uri;
import android.os.Bundle;
import com.codetho.photocollage.frame.FrameEntity;
import com.codetho.photocollage.multitouch.controller.MultiTouchEntity;
import java.util.ArrayList;
import java.util.HashMap;
public class Resu... |
/*
* @(#)LocatorHandle.java
* Copyright © 2021 The authors and contributors of JHotDraw. MIT License.
*/
package org.jhotdraw8.draw.handle;
import javafx.geometry.Point2D;
import org.jhotdraw8.annotation.NonNull;
import org.jhotdraw8.draw.DrawingView;
import org.jhotdraw8.draw.figure.Figure;
import org.jhotdraw8.dr... |
/*
* Copyright 2014 Avanza Bank AB
*
* 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... |
package com.linlihudong.two.spring.tx;
/**
* Created by Administrator on 2018/8/27.
*/
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
/**
* Connection.TRANSACTION_READ_COMMITTED
* 允许读取已提交事物
*
* @author Tommy
... |
/*
* 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 ... |
/*
* Copyright 2020, 2021, Ludovic Henry
*
* 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, modify, merge, pu... |
package com.gitee.passerr.leetcode.problem.algorithm.page3;
import com.gitee.passerr.leetcode.ListNode;
import java.util.HashSet;
import java.util.Set;
/**
* 给定一个链表,返回链表开始入环的第一个节点。 如果链表无环,则返回 null。
* 为了表示给定链表中的环,我们使用整数 pos 来表示链表尾连接到链表中的位置(索引从 0 开始)。 如果 pos 是 -1,则在该链表中没有环。
* 说明:不允许修改给定的链表。
* <p>
* 示例 1:
* 输入:he... |
package com.alipay.api.domain;
import com.alipay.api.AlipayObject;
import com.alipay.api.internal.mapping.ApiField;
/**
* 商品SKU属性模型
*
* @author auto create
* @since 1.0, 2019-09-11 16:08:43
*/
public class ItemSkuPropertyInfo extends AlipayObject {
private static final long serialVersionUID = 1723... |
/*
com.nttdocomo.dconnect.utils
Copyright (c) 2014 NTT DOCOMO,INC.
Released under the MIT license
http://opensource.org/licenses/mit-license.php
*/
/**
* Device ConnectのAPIを利用するためのユーティリティクラスを提供する.
*/
package com.nttdocomo.dconnect.utils;
|
package org.lefmaroli.perlin.generators;
import com.jparams.verifier.tostring.NameStyle;
import com.jparams.verifier.tostring.ToStringVerifier;
import com.jparams.verifier.tostring.preset.Presets;
import java.util.Random;
import java.util.stream.Stream;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter... |
package com.weibo.dashboard.controller;
import java.util.List;
import javax.annotation.Resource;
import com.weibo.dashboard.service.impl.UserService;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation... |
package edu.wzm.topk;
import lombok.Data;
@Data
public class ItemViewCount {
private long itemId;
private long windowEndTimeStamp;
private long clickCount;
public static ItemViewCount of(long itemId, long windowEndTimeStamp, long count){
ItemViewCount viewCount = new ItemViewCount();
... |
/*
* Copyright 2000-2014 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 2010 Google 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 agreed to i... |
/*
* The Alluxio Open Foundation licenses this work under the Apache License, version 2.0
* (the "License"). You may not use this work except in compliance with the License, which is
* available at www.apache.org/licenses/LICENSE-2.0
*
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI... |
package js.web.serviceworker;
import js.lang.Any;
import org.teavm.jso.JSProperty;
import javax.annotation.Nullable;
public interface NavigationPreloadState extends Any {
@JSProperty
boolean isEnabled();
@JSProperty
void setEnabled(boolean enabled);
@JSProperty
@Nullable
String getHead... |
/**
* 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.fenglex.janus.entity;
import lombok.AllArgsConstructor;
import lombok.Data;
/**
* @Author: haifeng
* @Date: 2019/11/26 15:18
*/
@Data
@AllArgsConstructor
public class KeyValue {
private String key;
private String value;
}
|
/*
* Copyright 2017 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... |
package com.example.cooper.coolweather.util;
import android.text.TextUtils;
import com.example.cooper.coolweather.db.CoolWeatherDB;
import com.example.cooper.coolweather.model.City;
import com.example.cooper.coolweather.model.County;
import com.example.cooper.coolweather.model.Province;
/**
* Created by Cooper on 2... |
/*
* Copyright LWJGL. All rights reserved.
* License terms: https://www.lwjgl.org/license
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.vulkan;
import javax.annotation.*;
import java.nio.*;
import org.lwjgl.*;
import org.lwjgl.system.*;
import static org.lwjgl.system.MemoryUtil.*;
import static org... |
/**
*
* Copyright 2011 (C) Rainer Schneider,Roggenburg <schnurlei@googlemail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.... |
// 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.salesmanager.core.model.user;
import java.util.HashSet;
import java.util.Set;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Embedded;
import javax.persistence.Entity;
import javax.persistence.EntityListeners;
import javax.persistence.EnumType;
import javax... |
/*
* Copyright (C) 2015 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... |
/*
* JCuda - Java bindings for NVIDIA CUDA driver and runtime API
*
* Copyright (c) 2009-2015 Marco Hutter - http://www.jcuda.org
*
* 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 Softwa... |
/*
* 打印数组元素
*/
public class ArrayInstance<T> {
public void printArray(T[] inputArray) {
for (T element : inputArray) {
System.out.printf("%s ", element);
System.out.println();
}
}
}
|
package org.escort.remote;
import org.escort.protocol.BaseEvent;
/**
* 服务端接收接口(RM、TM、TC)
*
* @Author: Shoukai Huang
* @Date: 2019/8/1 19:20
*/
public interface RemoteHandler {
/**
* 等待数据返回
*
* @param event 消息
* @return 结果
*/
BaseEvent receiveEventSyncReply(BaseEvent event);
... |
/*
* Copyright 2009-2016 Billy Zhang
*/
package com.mobaas.smfx.service.impl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cache.annotation.CacheEvict;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.stereotype.Service;
import com.mobaas... |
/*
* 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 distributed under t... |
package pack;
import java.util.HashMap;
public class TranspositionTable {
private HashMap<Integer, Node> transTable;
public TranspositionTable() {
this.transTable = new HashMap<>();
}
public Node retrieveNode(int state) {
return this.transTable.get(state);
}
public void putNode(int state, Node nodeToBeA... |
package ru.alazarev.iostream;
import java.io.InputStream;
import java.util.Scanner;
/**
* Class Even решение задачи части 002. 1. Проверить байтовый поток [#858].
*
* @author Aleksey Lazarev
* @since 14.01.2019
*/
public class Even {
/**
* Method check even number or not.
*
* @param in InputSt... |
/**
*
* 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.zyplayer.doc.data.repository.manage.mapper;
import com.zyplayer.doc.data.repository.manage.entity.ApiCustomFolder;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* <p>
* 自建接口文档文件夹 Mapper 接口
* </p>
*
* @author 暮光:城中城
* @since 2021-12-22
*/
public interface ApiCustomFolderMapper extends ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.