text stringlengths 7 995k |
|---|
// Copyright (c) FIRST and other WPILib contributors.
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
package frc.robot.subsystems;
import edu.wpi.first.math.controller.SimpleMotorFeedforward;
import edu.wpi.first.math.geo... |
package authoringInterface.sidebar.old.subTreeViews;
import javafx.scene.control.TreeItem;
import javafx.stage.Stage;
abstract class SubTreeView {
private TreeItem<String> rootItem;
private Stage primaryStage;
SubTreeView(String name, Stage primaryStage) {
this.primaryStage = primaryStage;
... |
/*
* 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 ... |
/*
* This file is generated by jOOQ.
*/
package org.vaccineimpact.api.db.tables.records;
import java.sql.Timestamp;
import javax.annotation.Generated;
import org.jooq.Field;
import org.jooq.Record1;
import org.jooq.Record3;
import org.jooq.Row3;
import org.jooq.impl.UpdatableRecordImpl;
import org.vaccineimpact.ap... |
import java.nio.file.Paths;
/**
* @author Fancyking
*/
public class Main {
public static void main(String[] args) {
String dir = "./";
FileList.printContentsInOneDirectory(String.valueOf(Paths.get(dir)));
}
} |
package com.example.velm.ds;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Example local unit test, which will execute on the development machine (host).
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
public class ExampleUnitTest {
@Test
public void ad... |
package org.kuaidi.generator;
/**
* sql generator
*
* @author yaogaolin
*
*/
public interface Generator {
public void generator();
} |
// 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.gms.internal.clearcut;
import java.io.IOException;
import java.nio.*;
import java.util.logging.Level;
import java.util.logging.... |
/*
* 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 net.thucydides.core.model;
import org.junit.Test;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.is;
public class WhenFormattingScreenshotDetailsForHtml {
@Test
public void quotes_should_be_presented_as_entities() {
Screenshot screenshot = new Screen... |
package org.ovirt.engine.ui.webadmin.section.main.view.popup.datacenter;
import org.ovirt.engine.ui.webadmin.ApplicationConstants;
import org.ovirt.engine.ui.webadmin.ApplicationResources;
import org.ovirt.engine.ui.webadmin.ApplicationTemplates;
import org.ovirt.engine.ui.webadmin.section.main.presenter.popup.datacen... |
/*
* Copyright 2017 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.backend.main.DAOImpl;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import com.backend.main.DAO.CartDAO;
import com.backend.main.Repository.CartRepository;
import com.backend.main.entity.CartEntity;
@Component
publi... |
/*
* Copyright (c) 2016, Gluon
* 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 list of conditions and t... |
package guru.springframework.recipeapp.repositories;
import java.util.Optional;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;
import guru.springframework.recipeapp.domain.UnitOfMeasure;
@Repository
public interface UnitOfMeasureRepository extends CrudRe... |
/*
* 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 ... |
/*
* DBeaver - Universal Database Manager
* Copyright (C) 2010-2017 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 graphic.component.base;
/**
* Name of component
*/
public enum ComponentName {
About("about"), Algorithm("algorithm"), Arbitrary("arbitrary"), Background("background"), Checked("checked"),
ClearOutput("clear_output"), Color("color"), ColorStyle("color_style"), Edit("edit"), Exit("exit"), File("file")... |
/*
* 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 ... |
/*
* 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... |
/*
* Copyright (c) 2014, KJFrameForAndroid 张涛 (kymjs123@gmail.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 req... |
package co.lq.modules.system.service.dto;
import java.sql.Timestamp;
import java.util.List;
import co.lq.annotation.Query;
import lombok.Data;
/**
* @author billy 公共查询类
*/
@Data
public class MenuQueryCriteria {
@Query(blurry = "name,path,component")
private String blurry;
@Query(type = Query... |
/*
* reserved comment block
* DO NOT REMOVE OR ALTER!
*/
/*
* Copyright 2001-2004 The Apache Software 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.... |
package org.apache.helix.controller.rebalancer.constraint;
/*
* 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 un... |
/*-
* See the file LICENSE for redistribution information.
*
* Copyright (c) 2002, 2011 Oracle and/or its affiliates. All rights reserved.
*
*/
package com.sleepycat.persist.impl;
import java.io.Serializable;
import com.sleepycat.persist.model.EntityModel;
/**
* Interface to the "read object" methods of the ... |
/*******************************************************************************
* Copyright 2018 T Mobile, 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. You may obtain a copy
* o... |
package com.xzh.kingtv;
/**
* @author Jenly <a href="mailto:jenly1314@gmail.com">Jenly</a>
* @since 2017/3/8
*/
public final class Constants {
public static final String BASE_URL = "http://www.quanmin.tv/";
public static final String KEY_FRAGMENT = "key_fragment";
public static final String KEY_TIT... |
/*
* Copyright (C) 2018 The Astarte 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 o... |
package com.meetferrytan.popularmovies;
import android.content.Context;
import android.support.test.InstrumentationRegistry;
import android.support.test.runner.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumentation test, which will execute on ... |
package io.github.lasyard.flink.streaming;
import org.apache.flink.api.common.typeinfo.TypeHint;
import org.apache.flink.api.java.tuple.Tuple2;
import org.apache.flink.streaming.api.datastream.DataStream;
import org.apache.flink.streaming.api.environment.StreamExecutionEnvironment;
import org.apache.flink.streaming.ap... |
package io.github.shiryu.aquabattlepets.nms.v1_8_R3;
import io.github.shiryu.aquabattlepets.api.util.ReflectionUtil;
import io.github.shiryu.aquabattlepets.nms.v1_8_R3.pets.PetBat;
import io.github.shiryu.aquabattlepets.nms.v1_8_R3.pets.PetWither;
import net.minecraft.server.v1_8_R3.*;
import org.bukkit.Location;
impo... |
/*
* 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 Persistencia.DataAdapters;
import Beans.TipoTransaccion;
import Persistencia.JDBCMySQL;
import java.sql.Connection;
import jav... |
/**
* Leetcode - Algorithm - Remove Duplicates From Sorted List Two
*/
package com.ciaoshen.leetcode;
import java.util.*;
import com.ciaoshen.leetcode.myUtils.ListNode;
class RemoveDuplicatesFromSortedListTwo {
/**
* Use Set to check duplicate
* Use extra space
* @param head [Target List]
* ... |
package com.tramchester.integration.graph;
import com.tramchester.ComponentContainer;
import com.tramchester.ComponentsBuilder;
import com.tramchester.domain.Journey;
import com.tramchester.domain.JourneyRequest;
import com.tramchester.domain.input.StopCall;
import com.tramchester.domain.places.Location;
import com.tr... |
/**
* Copyright (c) 2016-present, RxJava Contributors.
*
* 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 ru.kontur.vostok.hercules.protocol.util;
import org.jetbrains.annotations.NotNull;
import ru.kontur.vostok.hercules.protocol.Event;
import ru.kontur.vostok.hercules.protocol.Type;
import ru.kontur.vostok.hercules.protocol.encoder.CollectionWriter;
import ru.kontur.vostok.hercules.protocol.encoder.Encoder;
impo... |
/*
* Copyright 2013 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 2015 Ben Manes. 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 applicab... |
package com.alibaba.fescar.samples.tcc.action;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
/**
* The type Result holder.
*
* @author zhangsen
*/
public class ResultHolder {
private static Map<String, String> actionOneResults = new ConcurrentHashMap<String, String>();
private sta... |
package com.bigyoshi.qrhunt.player;
import android.graphics.Bitmap;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.annotation.Nul... |
// Template Source: Enum.java.tt
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// -------------------------------------------------... |
package io.github.sczerepko.tetris.model.pieces;
import javafx.scene.paint.Color;
class PieceOfShapeT implements PieceRepresentation {
private static final Color COLOR = Color.PURPLE;
private static final PieceRotations ROTATIONS = new PieceRotations(
new Color[][]{
{COLOR, n... |
// ***************************************************************************************************************************
// * 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 regardi... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/firestore/admin/v1beta1/firestore_admin.proto
package com.google.firestore.admin.v1beta1;
/**
* <pre>
* The request for [FirestoreAdmin.CreateIndex][google.firestore.admin.v1beta1.FirestoreAdmin.CreateIndex].
* </pre>
*
* Protobuf type... |
/**
*
*/
package org.javabuilders.gtk.handler.type;
import java.util.Map;
import org.gnome.gtk.Label;
import org.javabuilders.BuildException;
import org.javabuilders.BuildProcess;
import org.javabuilders.BuilderConfig;
import org.javabuilders.Node;
import org.javabuilders.handler.AbstractTypeHandler;
/**
* Label... |
package org.sotorrent.util;
import javax.net.ssl.HttpsURLConnection;
import java.io.IOException;
import java.net.HttpURLConnection;
import java.net.URL;
public class HttpUtils {
public static HttpURLConnection openHttpConnection(String url,
String requestMeth... |
package test.thread;
import org.junit.Test;
import thread.ThreadDemo;
import thread.ThreadDemo1;
public class TestThread {
@Test
public void testThread(){
ThreadDemo demo = new ThreadDemo();
// 启动线程start
demo.start();
ThreadDemo1 demo1 = new ThreadDemo1();
demo1.start()... |
/*
* 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 cn.sunwei1991.rabbit.api;
/**
* @Title MessageType
* @Description
* @Author SunWei
* @Create 2020/10/21 10:14 上午
*/
public final class MessageType {
/**
* 迅速消息
* 不需要保证消息的可靠性
* 也不需要做confirm确认
*/
public static final String RAPID = "0";
/**
* 确认消息
* 不... |
/*
* 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 me.almostsomeone.miracleeaster.bukkit;
import org.bukkit.Material;
import org.bukkit.inventory.ItemStack;
import org.bukkit.inventory.meta.SkullMeta;
public enum SkullBuilder {
ARROW_LEFT("MHF_ArrowLeft"),
ARROW_RIGHT("MHF_ArrowRight"),
ARROW_UP("MHF_ArrowUp"),
ARROW_DOWN("MHF_ArrowDown"),
... |
package com.example.lifeapp.fragments;
import android.app.ActionBar;
import android.os.Bundle;
import androidx.fragment.app.Fragment;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android... |
/*
* Copyright (c) 2001-2004 World Wide Web Consortium,
* (Massachusetts Institute of Technology, Institut National de
* Recherche en Informatique et en Automatique, Keio University). All
* Rights Reserved. This program is distributed under the W3C's Software
* Intellectual Property License. This program is distri... |
/*
* 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.example.cgaima.flicks;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.util.Log;
import android.widget.RatingBar;
import android.widget.TextView;
import com.example.cgaima.flicks.models.Movie;
import org.parceler.Parcels;
public class MovieDetailsActivity exten... |
/*
* Copyright 2013-2016 Immutables Authors and Contributors
*
* 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 2016 Chris Millar
*
* 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 t... |
/*
* 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... |
/*
* Copyright 2004-2010 Information & Software Engineering Group (188/1)
* Institute of Software Technology and Interactive Systems
* Vienna University of Technology, Austria
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file ex... |
public interface EatingActions {
public void eatWest();
public void eatEast();
public void eatNorth();
public void eatSouth();
}// EatingActions |
/*
* Yet Another UserAgent Analyzer
* Copyright (C) 2013-2018 Niels Basjes
*
* 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... |
package pages;
import net.thucydides.core.annotations.Managed;
import org.openqa.selenium.WebDriver;
public class PageObject {
public static WebDriver driver;
public WebDriver getDriver() {
return this.driver;
}
} |
/*
* 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.lbs.spring.my_app.aspect;
import com.google.gson.Gson;
import com.lbs.spring.my_app.annotation.WebLogger;
import org.aspectj.lang.JoinPoint;
import org.aspectj.lang.ProceedingJoinPoint;
import org.aspectj.lang.annotation.After;
import org.aspectj.lang.annotation.Around;
import org.aspectj.lang.annotation... |
/*
* Copyright (C) 2013 The Libphonenumber 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 la... |
package com.tutalizm.garage.payload;
import lombok.Data;
import lombok.EqualsAndHashCode;
@Data
@EqualsAndHashCode(callSuper = true)
public class ParkResponse extends BaseResponse {
private String ticket;
public ParkResponse(String ticket) {
setTicket(ticket);
super.setSuccess(true);
... |
/*
* 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 mezz.jei.search;
import it.unimi.dsi.fastutil.objects.ReferenceOpenHashSet;
import mezz.jei.collect.SetMultiMap;
import java.io.PrintWriter;
import java.util.Set;
/**
* This is more memory-efficient than {@link GeneralizedSuffixTree}
* when there are many values for each key.
*
* It stores a map of keys ... |
package com.Da_Technomancer.crossroads.tileentities.witchcraft;
import com.Da_Technomancer.crossroads.API.CRProperties;
import com.Da_Technomancer.crossroads.API.witchcraft.ICultivatable;
import com.Da_Technomancer.crossroads.API.witchcraft.IPerishable;
import com.Da_Technomancer.crossroads.Crossroads;
import com.Da_T... |
/*
* Copyright 2017 HelloRobotics.
*
* 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... |
/*
* 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.mettl.learning.userform.dao;
import com.mettl.learning.userform.models.User;
import java.util.List;
/**
*
* @author adm... |
/*
* 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 pl.wsiiz.patientservice.controller;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import pl.wsiiz.patientservice.model.Examination;
import pl.wsiiz.patientservice.model.Prescription;
import pl.wsiiz.patientservice.service.ExaminationService;
im... |
/**
* Licensed to DigitalPebble Ltd under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* DigitalPebble licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this... |
package cero_tech.recycling.common.containers;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
import net.minecraftforge.fml.common.FMLCommonHandler;
import net.minecraftforge.items.IItemHandler;
import net.minecraftforge.items.SlotItemHandler;
import javax.annotation.Nonnull;
/... |
class Solution {
public int minReorder(int n, int[][] cs) {
Set<String> st = new HashSet<>();
Map<Integer, Set<Integer>> map = new HashMap<>();
for (int[] c : cs) {
st.add(c[0] + "," + c[1]);
map.computeIfAbsent(c[0], k -> new HashSet<>());
map.computeIfAb... |
package twgc.gm.pool;
import java.io.IOException;
import java.util.Map;
import org.apache.commons.pool2.impl.GenericObjectPoolConfig;
import twgc.gm.consts.Const;
import twgc.gm.utils.ConfigLoader;
public class SM2PoolConfig extends GenericObjectPoolConfig {
public SM2PoolConfig() {
}
public SM2PoolCon... |
package www.bwsensing.com.common.utills;
import lombok.extern.slf4j.Slf4j;
import java.security.MessageDigest;
/**
* Md5 加密工具类
* @author macos-zyj
*/
@Slf4j
public class Md5Utils {
/**
* MD5加码 生成32位md5码
* @param inStr
* @return
*/
public static String encryptMd5(String inStr) {
... |
package ro.msg.learning.shop.converter;
import com.fasterxml.jackson.databind.MappingIterator;
import com.fasterxml.jackson.databind.SequenceWriter;
import com.fasterxml.jackson.dataformat.csv.CsvMapper;
import com.fasterxml.jackson.dataformat.csv.CsvParser;
import java.io.IOException;
import java.io.InputStream;
imp... |
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.java.psi.formatter.java;
import com.intellij.JavaTestUtil;
import com.intellij.openapi.roots.LanguageLevelProjectExtension;
import com.intellij.psi.codeStyle... |
package org.ednovo.gooru.shared.model.content;
import java.io.Serializable;
import org.ednovo.gooru.shared.model.user.CreatorDo;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
@JsonInclude(Include.NON_NULL)
public class StarRatingsDo implements Ser... |
package com.envimate.examples.email_use_case.domain;
import com.envimate.examples.email_use_case.validation.RegexValidator;
import lombok.AccessLevel;
import lombok.EqualsAndHashCode;
import lombok.RequiredArgsConstructor;
import lombok.ToString;
import java.time.ZonedDateTime;
import java.time.format.DateTimeFormatt... |
package org.firstinspires.ftc.teamcode.Operation.Subsystems;
import com.qualcomm.robotcore.eventloop.opmode.OpMode;
import com.qualcomm.robotcore.hardware.DcMotor;
import com.qualcomm.robotcore.hardware.Servo;
import org.firstinspires.ftc.teamcode.FtcExplosivesPackage.Subsystem;
public class DiverterSubsystem {
... |
package org.finos.symphony.toolkit.koreai.output;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.node.*;
import freemarker.core.CollectionAndSequence;
import freemarker.ext.beans.BeanModel;
import freemarker.ext.beans.BeansWrapper;
import freemarker.ext.beans.IteratorModel;
impor... |
package com.springboot.demo;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
@SpringBootTest
class SpringbootrestcontrollerApplicationTests {
@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 may not ... |
package org.yidu.novel.action.user;
import org.apache.struts2.interceptor.validation.SkipValidation;
import org.yidu.novel.action.base.AbstractUserBaseAction;
import org.yidu.novel.constant.YiDuConstants;
/**
* <p>
* 小说推荐Action
* </p>
* Copyright(c) 2013 YiDu-Novel. All rights reserved.
*
* @version 1.0.0
* @... |
package com.evbox.everon.ocpp.simulator.station.component.electricalfield;
import com.evbox.everon.ocpp.common.CiString;
import com.evbox.everon.ocpp.simulator.station.Station;
import com.evbox.everon.ocpp.simulator.station.StationStore;
import com.evbox.everon.ocpp.simulator.station.component.ReportDataGenereator;
im... |
/*! ******************************************************************************
*
* Pentaho Data Integration
*
* Copyright (C) 2002-2013 by Pentaho : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version 2.0 (th... |
/*
* Copyright 2018 The Higgs 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... |
/**
* 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... |
begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1
begin_comment
comment|/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses... |
package com.chinapex.android.datacollect.executor.runnable;
import com.chinapex.android.datacollect.executor.TaskController;
import com.chinapex.android.datacollect.global.ApexCache;
import com.chinapex.android.datacollect.global.Constant;
import com.chinapex.android.datacollect.model.bean.TrackEvent;
import com.china... |
package net.infstudio.goki.api.stat;
import net.minecraft.entity.player.EntityPlayer;
/**
* Special stat with a secondary bonus slot
*/
public interface StatSpecial extends Stat {
float getSecondaryBonus(EntityPlayer player);
float getSecondaryBonus(int level);
} |
package edu.princeton.cs.exercise.chapter1_3;
/**
* 1.3.13 Suppose that a client performs an intermixed sequence of (queue) enqueue and dequeue
* operations. The enqueue operations put the integers 0 through 9 in order onto the queue; the
* dequeue operations print out the return value. Which of the following seque... |
/*
* 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 site.teamo.mall.bean;
import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Table(name = "items_param")
public class ItemsParam {
/**
* 商品参数id
*/
@Id
private String id;
/**
* 商品外键id
*/
@Column(name = "item... |
/*
* RED5 Open Source Media Server - https://github.com/Red5/
*
* Copyright 2006-2016 by respective authors (see below). 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 Lic... |
package com.bcen22_31932;
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() {
... |
package com.ddmit.system.service;
import java.util.List;
import java.util.Set;
import com.ddmit.system.domain.SysMenu;
import com.ddmit.system.domain.vo.RouterVo;
import com.ddmit.system.domain.vo.TreeSelect;
/**
* 菜单 业务层
*
* @author ddmit
*/
public interface ISysMenuService
{
/**
* 根据用户查询系统菜单列表
*... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.