text stringlengths 7 995k |
|---|
package com.initsrc.admin.system.service;
import com.initsrc.admin.system.entity.role.SysRole;
import com.initsrc.admin.system.entity.role.vo.SysRoleListVo;
import com.initsrc.admin.system.entity.role.vo.SysRoleDetailVo;
import com.initsrc.admin.system.entity.role.dto.SysRoleQueryDto;
import com.initsrc.admin.system.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 org.openqa.selenium.devtools.input.model;
import org.openqa.selenium.Beta;
import org.openqa.selenium.json.JsonInput;
/**
* UTC time in seconds, counted from January 1, 1970.
*/
public class TimeSinceEpoch {
private final java.lang.Number timeSinceEpoch;
public TimeSinceEpoch(java.lang.Number time... |
package org.jvnet.ogc.gml.v_3_2_1.jts.jts2gml;
import org.jvnet.ogc.gml.v_3_2_1.ObjectFactoryInterface;
import net.opengis.gml.v_3_2_1.DirectPositionType;
import org.locationtech.jts.geom.Coordinate;
public class JTSToGML321CoordinateConverter {
private final ObjectFactoryInterface objectFactory;
private final J... |
/**
* Copyright 2018-2021 Deere & Company
*
* 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"); ... |
package org.andromda.metafacades.uml14;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Iterator;
import java.util.List;
import org.andromda.metafacades.uml.FrontEndController;
import org.andromda.metafacades.uml.FrontEndUseCase;
import org.andromda.metafacades.uml.ModelElementFacade;
/**
*... |
/*
* This file is part of Prism, licensed under the MIT License (MIT).
*
* Copyright (c) 2015 Helion3 http://helion3.com/
*
* 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 rest... |
package cech12.extendedmushrooms.block.mushroomblocks;
import net.minecraft.block.Block;
import net.minecraft.block.BlockState;
import net.minecraft.block.HugeMushroomBlock;
import net.minecraft.entity.AreaEffectCloudEntity;
import net.minecraft.item.BlockItemUseContext;
import net.minecraft.potion.EffectInstance;
imp... |
/*
* Copyright 2015 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... |
package org.infinispan.configuration.cache;
import static org.infinispan.configuration.cache.ExpirationConfiguration.LIFESPAN;
import static org.infinispan.configuration.cache.ExpirationConfiguration.MAX_IDLE;
import static org.infinispan.configuration.cache.ExpirationConfiguration.REAPER_ENABLED;
import static org.in... |
/*
* 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 by.stqa.pft.addressbook.appmanager;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
public class NavigationHelper extends HelperBase{
public NavigationHelper(WebDriver wd) {
super(wd);
}
public void gotoGroupPage() {
... |
package com.rental.account.client;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import com.rental.account.domain.User;
@FeignClient(na... |
package trigger;
import java.util.Arrays;
import csvutils.DataSet;
import csvutils.FeatureVector;
import stocks.Candlestick;
import stocks.Numerics;
public class TriggerMACross extends Trigger {
public TriggerMACross() throws Exception { super("macross", Trigger.HALF_HOUR); }
private static final int EMA_LENGTH ... |
/*
* The MIT License
*
* Copyright (c) 2004-2010, Sun Microsystems, Inc., Kohsuke Kawaguchi, Alan Harder
*
* 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, includ... |
/*
* 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 lab.pkg5a;
/**
*
* @author kmhasan
*/
public class RationalNumber extends Number {
private int numerator;
private i... |
/*
* Copyright 2014 Red Hat, Inc. and/or its affiliates.
*
* 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 2014-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 "lice... |
import java.io.*;
import java.util.*;
import java.text.*;
import java.math.*;
import java.util.regex.*;
public class Solution {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int num = scanner.nextInt();
int target = 100000;
Big... |
package org.zalando.opentracing.proxy.intercept.tag;
import io.opentracing.Tracer;
import io.opentracing.mock.MockSpan;
import io.opentracing.mock.MockTracer;
import io.opentracing.tag.IntTag;
import io.opentracing.tag.StringTag;
import io.opentracing.tag.Tag;
import org.junit.jupiter.api.Test;
import org.zalando.open... |
package com.sequenceiq.datalake.flow.create;
import static com.sequenceiq.datalake.flow.create.SdxCreateState.FINAL_STATE;
import static com.sequenceiq.datalake.flow.create.SdxCreateState.INIT_STATE;
import static com.sequenceiq.datalake.flow.create.SdxCreateState.SDX_CREATION_FAILED_STATE;
import static com.sequencei... |
/*
* 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.mallplus.goods.vo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
* 产品查询参数
* https://github.com/shenzhuan/mallplus on 2018/4/27.
*/
@Data
public class PmsProductQueryParam {
@ApiModelProperty("上架状态")
private Integer publishStatus;
@ApiModelProperty("审核状态")
priva... |
package seedu.budgeteer.logic.commands;
import static java.util.Objects.requireNonNull;
import java.util.List;
import seedu.budgeteer.commons.core.Messages;
import seedu.budgeteer.commons.core.index.Index;
import seedu.budgeteer.logic.CommandHistory;
import seedu.budgeteer.logic.commands.exceptions.CommandException;... |
/*
* 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.epam.repair.dao;
import com.epam.repair.model.Complectation;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
@Repository
public interface ComplectationDao extends JpaRepository<Complectation, Integer> {
} |
/*
* Copyright (c) 1997, 2021 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
* http://www.eclipse.org/org/documents/edl-v10.php.
*
* SPDX-License-Identifier: ... |
package com.github.davidmoten.rx.operators;
import java.util.Comparator;
import rx.Observable.Operator;
import rx.Subscriber;
import com.google.common.collect.MinMaxPriorityQueue;
public final class OperatorBoundedPriorityQueue<T> implements Operator<T, T> {
private final int maximumSize;
private final Com... |
package com.shuyu.apprecycler.chat.data.model;
import java.io.Serializable;
/**
* 用户数据
* Created by guoshuyu on 2017/9/4.
*/
public class UserModel implements Serializable {
private String userId;
private String userName;
private String userPic;
public String getUserId() {
return userI... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.negod.timecheck.generic;
import javax.persistence.EntityManager;
import javax.persistence.EntityManagerFactory;
import jav... |
/**
* Copyright (C) 2009-2014 Typesafe Inc. <http://www.typesafe.com>
*/
package akka.http.javadsl.model.headers;
import akka.http.impl.util.Util;
import akka.http.javadsl.model.MediaRange;
/**
* Model for the `Accept` header.
* Specification: http://tools.ietf.org/html/draft-ietf-httpbis-p2-semantics-26#secti... |
/*
* 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 co.edu.uniandes.csw.bicitours.resources;
import co.edu.uniandes.csw.bicitours.dtos.BlogDetailDTO;
import co.edu.uniandes.csw.b... |
package ee.ioc.phon.netspeechapi.duplex;
public interface RecognitionEventListener {
void onRecognitionEvent(RecognitionEvent event);
void onClose();
} |
/*
* Minecraft Forge
* Copyright (c) 2016.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation version 2.1
* of the License.
*
* This library is distributed in the hope that it will... |
package org.training.streams;
public class Person {
private String name;
private int age;
private String nationality;
public Person(final String nameValue, final int ageValue) {
name = nameValue;
age = ageValue;
}
public Person(final String nameValue, final int ageValue, final String nationality... |
package com.photatos.dalin.mlkit.ghost.util;
import android.content.Context;
import android.content.res.Resources;
import androidx.annotation.NonNull;
public class DeviceUtils {
public static int getScreenWidth(@NonNull Context context) {
return context.getResources().getDisplayMetrics().widthPixels;
... |
/*
* Copyright 2020 Huawei Technologies Co., Ltd.
*
* 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 appl... |
/*
* Copyright (c) 2001-2004 Caucho Technology, Inc. All rights reserved.
*
* The Apache Software License, Version 1.1
*
* 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 mu... |
/*
* 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 2018 The TensorFlow Authors. 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 law or a... |
/*
* Copyright DataStax, 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 in wri... |
/*******************************************************************************
*
* Pentaho Big Data
*
* Copyright (C) 2002-2018 by Hitachi Vantara : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version 2.0 (the ... |
/*
* BSD 2-Clause License
*
* Copyright (c) 2020, Ondrej Fischer
* 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 noti... |
// Copyright 2014 The Bazel Authors. 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 appl... |
package cn.itsource.dao;
import cn.itsource.common.base.BaseMapper;
import cn.itsource.model.Releases;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;
public interface ReleasesDao extends BaseMapper<Releases> {
@Update("update ehr_releases set logicToDelete=0 where id in... |
package io.github.bananalang.parse.ast;
public final class AccessExpression extends ExpressionNode {
public final ExpressionNode target;
public final String name;
public final boolean safeNavigation;
public AccessExpression(ExpressionNode target, String name, boolean safeNavigation, int row, int colum... |
package com.sunyinhui.data.algorithm.chapter01_sort.sort.cmp;
import com.sunyinhui.data.algorithm.chapter01_sort.sort.Sort;
public class QuickSort<T extends Comparable<T>> extends Sort<T> {
@Override
protected void sort() {
sort(0, array.length);
}
/**
* 对 [begin, end) 范围的元素进行快速排序
* @param begin
* @para... |
package com.maumjido.springboot.template.util;
import java.io.File;
import java.text.DecimalFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
import java.util.Locale;
import java.util.TimeZone;
public class FormatUtil {
private static TimeZ... |
package dev.emi.clothier.data;
import net.minecraft.entity.EquipmentSlot;
import net.minecraft.util.Identifier;
public class ClothierGarment {
public String id;
public EquipmentSlot slot;
public Identifier trinketSlot;
public int materials;
public int threads;
public ClothierGarment(Builder builder) {
this.i... |
package ModelClasses;
public class User {
public int id;
public String email;
public String name;
public int gender;
public String image;
public User() {
}
public User(int id, String email, String name, int gender, String image) {
this.id = id;
this.email = email;
... |
package mage.cards.v;
import mage.MageInt;
import mage.abilities.Ability;
import mage.abilities.common.SimpleActivatedAbility;
import mage.abilities.costs.common.SacrificeSourceCost;
import mage.abilities.costs.mana.ManaCostsImpl;
import mage.abilities.effects.common.DestroyTargetEffect;
import mage.cards.CardImpl;
im... |
/* Copyright (c) 2019 FIRST. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted (subject to the limitations in the disclaimer below) provided that
* the following conditions are met:
*
* Redistributions of source code must retain the above cop... |
/*
* Copyright 2019 StreamSets 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... |
// Copyright 2011-2016 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 ... |
package org.embulk.output.mailchimp;
import org.embulk.output.mailchimp.validation.ColumnDataValidator;
import org.embulk.spi.Schema;
import org.junit.Assert;
import org.junit.Test;
import static org.embulk.spi.type.Types.STRING;
/**
* Created by thangnc on 5/12/17.
*/
public class TestColumnDataValidator
{
@T... |
/**
* Copyright 2010 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 applicable law or agree... |
package com.bitprogress.service.user;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.additional.query.impl.LambdaQueryChainWrapper;
import com.bitprogress.exception.BaseExceptionMessage;
import com.bitprogress.mapper.WechatOaUserMapper;
impor... |
package com.prowidesoftware.swift.model.mx.dic;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorian... |
/*
* Copyright 2002-2021 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
/*
* Copyright 2020 PingCAP, 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 ... |
/*
* Copyright (c) 2010-2017 Evolveum
*
* 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 (c) 2007-2014 Concurrent, Inc. All Rights Reserved.
*
* Project and contact information: http://www.cascading.org/
*
* This file is part of the Cascading project.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.... |
package driver;
import java.io.IOException;
import java.nio.charset.Charset;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.List;
import util.FileUtils;
import files.RootedSourcePath;
/**
* caxap's entry point. Processes command line options and store them in
* ... |
package cn.sharesdk.tencent.qzone;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import cn.sharesdk.framework.PlatformActionListener;
import cn.sharesdk.framework.utils.e;
import com.mob.tools.MobUIShell;
import com.mob.tools.log.NLog;
import com.mob.tools.utils.Hashon;
import c... |
package sanzol.se.model.entities;
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 org.hibernate.annotations.Type;
@Entity
@Table(name = "se_permissio... |
package com.huoli.flight.operator.util;
import com.google.common.collect.Lists;
import com.google.common.collect.Maps;
import lombok.AllArgsConstructor;
import lombok.Data;
import org.springframework.util.CollectionUtils;
import java.util.List;
import java.util.Map;
public class MessageContext {
private static ... |
/*
* Copyright 2020 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 in w... |
/**
* MIT License
*
* Copyright (c) 2017-2022 Julb
*
* 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, modif... |
package com.distributedDL.streaming.models.producer;
import org.apache.flink.shaded.jackson2.com.fasterxml.jackson.annotation.JsonProperty;
import org.apache.flink.shaded.jackson2.com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Data;
import lombok.EqualsAndHashCode;
@SuppressWarnings("serial")
... |
/**
*
* Base classes for the lightweight API.
*/
package org.bouncycastle.crypto;
public interface Wrapper {
public void init(boolean forWrapping, CipherParameters param);
/**
* Return the name of the algorithm the wrapper implements.
*
* @return the name of the algorithm the wrapper implements.
*/... |
package me.egg82.antivpn.utils;
import java.util.Collection;
import org.bukkit.Bukkit;
import org.bukkit.command.CommandSender;
import org.bukkit.plugin.Plugin;
import org.checkerframework.checker.nullness.qual.NonNull;
public class BukkitCommandUtil {
private BukkitCommandUtil() { }
public static void dispa... |
import javax.swing.SwingUtilities;
public class Principal {
public static void main( String arg[] ) {
SwingUtilities.invokeLater( () -> new Fenetre() );
}
} |
package com.songyuankun.wechat.controller;
import com.songyuankun.wechat.common.DaoCommon;
import com.songyuankun.wechat.entity.CourseEnroll;
import com.songyuankun.wechat.repository.CourseEnrollRepository;
import com.songyuankun.wechat.repository.CourseRepository;
import com.songyuankun.wechat.request.CourseEnrollFor... |
/*
* Copyright 2021 Apollo 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 applicable law or agreed to i... |
/* ========================================================================
* JCommon : a free general purpose class library for the Java(tm) platform
* ========================================================================
*
* (C) Copyright 2000-2005, by Object Refinery Limited and Contributors.
*
* Project I... |
package io.jitstatic.utils;
/*-
* #%L
* jitstatic
* %%
* Copyright (C) 2017 - 2018 H.Hegardt
* %%
* 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/lice... |
/*
* Copyright © 2015-2020 Santer Reply S.p.A.
*
* 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 la... |
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0; you may not use this file except in compliance with the Elastic License
* 2.0.
*/
package org.elasticsearch.xpack.watcher.history;
import org.apache... |
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) annotate safe
package com.google.android.exoplayer.extractor.ogg;
import com.google.android.exoplayer.ParserException;
import com.google.android.exoplayer.extractor.*;
... |
/*
* This file is part of SpongeAPI, licensed under the MIT License (MIT).
*
* Copyright (c) SpongePowered <https://www.spongepowered.org>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Soft... |
/*
* Copyright (c) 2008-2022, 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 ... |
/*
* 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 fuzzyAutomaton.impl;
import fuzzyAutomaton.FuzzyAutomatonPackage;
import fuzzyAutomaton.Variable;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.impl.ENotificationImpl;
import org.eclipse.emf.ecore.impl.EObjectImpl;
/**
* <!-- b... |
package com.gilmarcarlos.developer.safeguard;
import org.junit.Assert;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
import br.com.safeguard.check.SafeguardCheck;
import br.com.safeguard... |
package org.firstinspires.ftc.team2981;
import com.qualcomm.robotcore.eventloop.opmode.OpMode;
import com.qualcomm.robotcore.eventloop.opmode.TeleOp;
import org.firstinspires.ftc.robotcore.external.matrices.OpenGLMatrix;
import org.firstinspires.ftc.team2981.structural.*;
import static org.firstinspires.ftc.team298... |
package com.creatubbles.api.model.upload;
public enum UploadStep {
INITIALIZED(0),
CREATION_ALLOCATED(1),
FILE_UPLOAD_CONFIGURED(2),
FILE_UPLOAD_FAIL_REPORTED(3),
FILE_UPLOAD_UPLOADED(4),
FILE_UPLOAD_SERVER_NOTIFIED(5),
SUBMITTED_TO_GALLERIES(6);
private int order;
UploadStep(int ... |
package com.laocaixw.designmode.facade;
public class Restaurant {
public void reserve(int num) {
System.out.println("订了一桌" + num + "人的酒席");
}
} |
/**
* Orignal work: Copyright 2015 www.seleniumtests.com
* Modified work: Copyright 2016 www.infotel.com
* Copyright 2017-2019 B.Hecquet
*
* 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 Licens... |
package com.cliqz.minibloomfilter;
//@formatter:off
/**
* SipHash_2_4 -- This is a streaming implementation of https://131002.net/siphash/<br>
* <p>
* Usage:<br>
* <pre>
// the standard test key
byte key[] = {(byte)0x00, (byte)0x01, (byte)0x02, (byte)0x03, (byte)0x04, (byte)0x05, (byte)0x06, (byte)0x07,
(byte)0... |
package org.gamegogo.generics.GenericInterfaces;
// Now, implement MinMax
class MyClass<T extends Comparable<T>> implements MinMax<T> {
T[] vals;
MyClass(T[] o) {
vals = o;
}
// Return the minimum value in vals.
public T min() {
T v = vals[0];
for (int i = 1; i < vals.leng... |
/* ===========================================================
* JFreeChart : a free chart library for the Java(tm) platform
* ===========================================================
*
* (C) Copyright 2000-2007, by Object Refinery Limited and Contributors.
*
* Project Info: http://www.jfree.org/jfreechart/in... |
/**
* The MIT License
* Copyright (c) 2018 Estonian Information System Authority (RIA),
* Nordic Institute for Interoperability Solutions (NIIS), Population Register Centre (VRK)
* Copyright (c) 2015-2017 Estonian Information System Authority (RIA), Population Register Centre (VRK)
*
* Permission is hereby grante... |
/*
* 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 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... |
/*
* 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 2013-2015 JEECG (jeecgos@163.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
*
* Unless required by app... |
package com.sparrow.bundle.framework.binding.command;
/**
* A zero-argument action.
*/
public interface BindingAction {
void call();
} |
/*
* Copyright 2014 Yahoo! 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 in wri... |
package com.coolweather.android;
import android.app.ProgressDialog;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.AdapterView;
import android.widget.Arra... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.