text stringlengths 7 995k |
|---|
package com.ruinscraft.panilla.craftbukkit.v1_13_R2.io;
import com.ruinscraft.panilla.api.IPanillaPlayer;
import com.ruinscraft.panilla.api.io.IPlayerInjector;
import io.netty.channel.Channel;
import net.minecraft.server.v1_13_R2.EntityPlayer;
import org.bukkit.craftbukkit.v1_13_R2.entity.CraftPlayer;
public class Pl... |
package com.touyan.investment.bean.main;
import com.core.openapi.OpenApiSimpleResult;
public class InvRecordRewardsResult extends OpenApiSimpleResult {
private double rewardsAmount = 0.0;//打赏总金额
public double getRewardsAmount() {
return rewardsAmount;
}
public void setRewardsAmount(double r... |
package com.sparta.model;
public class BubbleSort extends SuperSort {
//--------------------------------------------------------------------------
// this is the method where the bubbleSort is done
//--------------------------------------------------------------------------
@Override
public int[] s... |
/*
*/
package org.apache.taverna.server.master.admin;
/*
* 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 A... |
package com.useek.example_kotlin_java;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.Switch;
public class SettingsActivity extends AppCompatActivity {
EditText editTextPublis... |
/**
* Copyright (c) 2014 Baidu, 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 b... |
/*
* 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 u... |
/*
* (C) Copyright IBM Corp. 2020.
*
* 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 2020 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 applica... |
// Targeted by JavaCPP version 1.5.2-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.cuda.nppc;
import java.nio.*;
import org.bytedeco.javacpp.*;
import org.bytedeco.javacpp.annotation.*;
import org.bytedeco.cuda.cudart.*;
import static org.bytedeco.cuda.global.cudart.*;
import static org.bytedeco.cuda.global.... |
/*
* Copyright 2013 Nokia Solutions and Networks Oyj
*
* 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... |
// The MIT License (MIT)
//
// Copyright (c) 2017 Smart&Soft
//
// 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... |
package jetbrains.mps.console.base.actions;
/*Generated by MPS */
import jetbrains.mps.openapi.actions.descriptor.PasteWrapper;
import org.jetbrains.mps.openapi.language.SAbstractConcept;
import org.jetbrains.mps.openapi.model.SNode;
import jetbrains.mps.lang.smodel.generator.smodelAdapter.SLinkOperations;
import jet... |
package study.ywork.basis.swing.combobox;
import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.event.ActionListener;
import java.util.ArrayList;
import java.util.List;
import java.util.Vector;
import java.util.regex.Pattern;
import javax.swing.DefaultComboBoxModel;
import javax.swing.JComboBox;
imp... |
/*
* 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 com.example.kathleengay.nxmgridsquares;
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... |
/*
* Copyright 2016-2017 Axioma srl.
*
* 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 LWJGL. All rights reserved.
* License terms: https://www.lwjgl.org/license
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.openxr;
import javax.annotation.*;
import java.nio.*;
import org.lwjgl.*;
import org.lwjgl.system.*;
import static org.lwjgl.system.Checks.*;
import static org.lwj... |
/*******************************************************************************
* ___ _ ____ ____
* / _ \ _ _ ___ ___| |_| _ \| __ )
* | | | | | | |/ _ \/ __| __| | | | _ \
* | |_| | |_| | __/\__ \ |_| |_| | |_) |
* \__\_\\__,_|\___||___/\__|____/|____/
*
* Copyright (c... |
/*
* 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 org.vno.domain;
import org.springframework.boot.autoconfigure.condition.ConditionalOnJava;
import javax.persistence.CollectionTable;
import javax.persistence.Column;
import javax.persistence.ElementCollection;
import javax.persistence.Entity;
import javax.persistence.EnumType;
import javax.persistence.Enumera... |
/*
(c) Copyright 2018, 2019 Phasmid Software
*/
package edu.neu.coe.info6205.sort.counting.huskySort.sort.huskySortUtils;
/**
* This interface extends HuskySort for object which are sub-classes of CharSequence.
*
* @param <X> the underlying type for this coder, which extends CharSequence and thus has a length.
... |
package 刷题.待面试.字节跳动;
import 标签.链表.ListNode;
/**
* https://leetcode-cn.com/problems/merge-two-sorted-lists/
*
* @author zhushuangquan
*/
class _10_21_合并两个有序链表 {
public ListNode mergeTwoLists(ListNode l1, ListNode l2) {
return null;
}
} |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/ads/googleads/v9/services/customer_label_service.proto
package com.google.ads.googleads.v9.services;
public interface MutateCustomerLabelsResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.ads.googleads.v9.se... |
package org.apache.storm.starter;
import org.apache.storm.tuple.Fields;
import org.apache.storm.tuple.Values;
//import storm configuration packages
import org.apache.storm.StormSubmitter;
import org.apache.storm.Config;
import org.apache.storm.topology.TopologyBuilder;
import org.apache.storm.starter.spout.RandomSent... |
package com.steamyao.newcode.dao;
import com.steamyao.newcode.dataobject.SortDO;
import java.util.Date;
import java.util.List;
public interface SortDOMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sort
*
* @mbg.generated Wed Aug ... |
package org.kie.cloud.openshift.deployment;
import java.net.URL;
import java.util.regex.Pattern;
import org.kie.cloud.api.deployment.EmployeeRosteringDeployment;
import org.kie.cloud.openshift.resource.Project;
public class EmployeeRosteringDeploymentImpl extends OpenShiftDeployment implements EmployeeRosteringDeplo... |
package gui;
import java.io.File;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import javafx.application.Platform;
import javafx.geometry.Insets;
import javafx.geometry.Pos;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.control.ContextMenu;
import ja... |
/*******************************************************************************
*
* Pentaho Data Integration
*
* Copyright (C) 2002-2012 by Pentaho : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version 2.0 (the ... |
/*
* Copyright (c) 2019 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/l... |
package com.bymarcin.openglasses.lua.luafunction;
import ben_mkiv.rendertoolkit.common.widgets.WidgetModifierConditionType;
import li.cil.oc.api.machine.Arguments;
import li.cil.oc.api.machine.Callback;
import li.cil.oc.api.machine.Context;
import com.bymarcin.openglasses.lua.LuaFunction;
import ben_mkiv.rendertoolki... |
package com.sequenceiq.cloudbreak.service.cluster.flow.recipe;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import java.util.Arrays;
import java.util.List;
import java.util.Optional;
import java.util.Set;
import org.junit.Test;
i... |
/*
* Copyright 2018 - 2020 Paul Hagedorn (Panzer1119)
*
* 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
*
* U... |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-2
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2013.0... |
package net.floodlightcontroller.util;
import java.util.ArrayList;
import java.util.List;
import net.floodlightcontroller.core.IOFSwitch;
import org.projectfloodlight.openflow.protocol.OFAsyncGetReply;
import org.projectfloodlight.openflow.protocol.OFBarrierReply;
import org.projectfloodlight.openflow.protocol.OFBu... |
package actors;
import actors.messages.DBUpdateImageActorMsg;
import akka.actor.Props;
import akka.actor.UntypedAbstractActor;
import com.google.inject.Inject;
import dto.ProductDto;
import play.Logger;
import services.ProductService;
import java.io.File;
public class DbUpdateImageActor extends UntypedAbstractActor ... |
package dagger;
import javax.inject.Inject;
/**
* Simple Dagger DI Hello World
*
*
* Created by vvedenin on 11/14/2015.
*/
public class SimpleDaggerDI {
public static class Notifier {
private final NotificationService service;
@Inject
public Notifier(NotificationService service) {
... |
package us.ihmc.simulationconstructionset.util.environments;
import us.ihmc.robotics.geometry.PlanarRegion;
import us.ihmc.robotics.geometry.PlanarRegionsList;
import us.ihmc.simulationconstructionset.ExternalForcePoint;
import us.ihmc.simulationconstructionset.Robot;
import us.ihmc.simulationconstructionset.util.grou... |
/**
* MVEL 2.0
* Copyright (C) 2007 The Codehaus
* Mike Brock, Dhanji Prasanna, John Graham, Mark Proctor
*
* 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.or... |
package com.coolweather.android;
import androidx.appcompat.app.AppCompatActivity;
import androidx.core.view.GravityCompat;
import androidx.drawerlayout.widget.DrawerLayout;
import androidx.swiperefreshlayout.widget.SwipeRefreshLayout;
import android.content.Intent;
import android.content.SharedPreferences;
import and... |
/*
* Copyright 2018 Gerald Curley
*
* 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... |
/*
* 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 ... |
/*
* 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 ma... |
package com.home.commonData.message.game.request.func.item;
import com.home.commonData.message.game.request.func.base.FuncSMO;
/** 移动装备消息 */
public class FuncSendMoveEquipMO extends FuncSMO
{
int fromSlot;
int toSlot;
} |
package day23;
import org.junit.jupiter.api.*;
import static org.junit.jupiter.api.Assertions.*;
@TestMethodOrder(MethodOrderer.OrderAnnotation.class)
class ChallengeTest {
final String input = "389125467";
@Test
@Order(10)
void solvePart1() {
Challenge challenge = new Challenge(Parser.pars... |
/*
*
* * Copyright (C) 2017 laocuo <laocuo@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
* *
* * ... |
/**
* Copyright ${license.git.copyrightYears} 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/LICEN... |
/**
Copyright 2017 Andrea "Stock" Stocchero
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... |
package dceGUI;
import mit.cadlab.dome3.gui.deploy.deployModel.DeployModelGui;
import mit.cadlab.dome3.swing.CardLayout2;
import mit.cadlab.dome3.swing.Templates;
import mit.cadlab.dome3.objectmodel.modelinterface.ModelInterfaceBase;
import java.awt.Dimension;
import java.awt.GridBagConstraints;
import java.awt.Inset... |
package com.viadee.sonarquest.rules;
import static org.junit.Assert.assertSame;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.ExpectedException;
import com.viadee.sonarquest.rules.SonarQuestStatus;
public class SonarQuestStatusTest {
@Rule
public ExpectedException exception = Expecte... |
/*
* 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 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.apache.org/licenses/LICENSE-2.0
Unless required by applicable la... |
package helpers;
import generated.*;
import java.util.List;
import java.util.Random;
import java.util.ArrayList;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.Future;
import org.apache.commons.cli.Options;
import org.apache.commons.cli.DefaultParser;
im... |
package kodlamaio.hrms.dataAccess.abstracts;
import org.springframework.data.jpa.repository.JpaRepository;
import kodlamaio.hrms.entities.concretes.Employee;
public interface EmployeeDao extends JpaRepository<Employee, Integer>{
} |
package sortings;
import org.hamcrest.core.Is;
import org.junit.Assert;
import org.junit.Test;
public class SelectionSortTest {
@Test
public void whenTestDefaultSortingMethod() {
Sort sort = new SelectionSort();
Integer[] data = {3, 2, 1};
sort.sort(data);
Integer[] result = {... |
/*
* This is the source code of Telegram for Android v. 3.x.x.
* It is licensed under GNU GPL v. 2 or later.
* You should have received a copy of the license in this archive (see LICENSE).
*
* Copyright Nikolai Kudashov, 2013-2017.
*/
package org.telegram.ui;
import android.annotation.TargetApi;
import android.... |
package nl.yschuurmans.MessageServer.domain;
public class MessageContent {
private String messageText;
public MessageContent() {
}
public MessageContent(String messageText) {
this.messageText = messageText;
}
public String getMessageText() {
return messageText;
}
pub... |
package com.frist.drafting_books.ui.home;
import android.os.Bundle;
import android.view.MenuItem;
import androidx.appcompat.app.ActionBar;
import androidx.appcompat.app.AppCompatActivity;
import com.frist.drafting_books.R;
public class Dynamic extends AppCompatActivity {
@Override
protected void onCreate(B... |
package DesignPattern.infrastructure.service;
import DesignPattern.domain.spi.Spi;
public class Service implements Spi {
@Override
public void saveAirlineCreditTotheDB() {
}
} |
package ix.core.util;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.IOException;
import java.lang.annotation.Annotation;
import java.lang.invoke.MethodHandle;
import java.lang.invoke.MethodHandles;
import java.lang.reflect.Field;
import java.lang.reflect.InvocationTargetException;
import ja... |
package com.morethanheroic.swords.combat.domain.effect;
import com.morethanheroic.swords.combat.domain.CombatEffectDataHolder;
import com.morethanheroic.swords.effect.domain.EffectDefinition;
/**
* @deprecated Use {@link ImprovedCombatEffectDefinition} instead.
*/
@Deprecated
public abstract class CombatEffectDefin... |
package org.apache.lucene.search.spans;
/**
* Copyright 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.apache.org/licenses/LICE... |
/*
*
* This file is part of the iText (R) project.
Copyright (c) 1998-2019 iText Group NV
* Authors: Bruno Lowagie, Paulo Soares, et al.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License version 3
* as published by the Free ... |
package com.xjcy.easywx;
import java.security.Security;
import java.util.Base64;
import java.util.Map;
import java.util.SortedMap;
import java.util.TreeMap;
import java.util.UUID;
import javax.net.ssl.SSLSocketFactory;
import org.apache.log4j.Logger;
import org.bouncycastle.jce.provider.BouncyCastleProvider;
import... |
package org.dinhware.bot.adapter.core;
import org.dinhware.bot.adapter.Listener;
import org.dinhware.bot.adapter.ListenerType;
import org.dinhware.bot.event.PresentEvent;
import org.dinhware.bot.objects.EventType;
import java.util.Map;
/**
* Created by: Niklas
* Date: 20.01.2018
* Alias: Dinh
* Time: 11:40
*/
... |
package com.alexa.myThaiStar.handlers.OrderHome;
import static com.amazon.ask.request.Predicates.intentName;
import java.util.Map;
import java.util.Optional;
import com.alexa.myThaiStar.attributes.Attributes;
import com.amazon.ask.dispatcher.request.handler.HandlerInput;
import com.amazon.ask.dispatcher.request.hand... |
package com.alipay.api.response;
import java.util.List;
import com.alipay.api.internal.mapping.ApiField;
import com.alipay.api.internal.mapping.ApiListField;
import com.alipay.api.domain.ItapResponsePayload;
import com.alipay.api.AlipayResponse;
/**
* ALIPAY API: alipay.msaas.itap.device.sync response.
*
* @auth... |
package com.gdp.mooc.biz.impl;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.gdp.mooc.biz.IpsetBiz;
import com.gdp.mooc.entity.Ipset;
import com.gdp.mooc.mapper.IpsetMapper;
@Service(value="IpsetBiz")
public class Ipset... |
package module1.selenium_basic;
import common.WebDriverFactory;
import org.openqa.selenium.WebDriver;
public class WebDriverFactoryExample {
public static void main(String[] args) {
WebDriver driver = WebDriverFactory.getDriver(WebDriverFactory.BrowserName.CHROME);
driver.get("https://www.google.c... |
/*
* Copyright (C) 2019-2020 Greg Hart, Samuel Audet
*
* Licensed either under the Apache License, Version 2.0, or (at your option)
* under the terms of the GNU General Public License as published by
* the Free Software Foundation (subject to the "Classpath" exception),
* either version 2, or any later version (c... |
/*
* Copyright 2020-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 (c) Microsoft. All rights reserved.
package com.microsoft.azure.iotsolutions.devicetelemetry.services.storage.timeSeries;
import com.google.inject.ImplementedBy;
import com.microsoft.azure.iotsolutions.devicetelemetry.services.exceptions.InvalidConfigurationException;
import com.microsoft.azure.iotsoluti... |
// Copyright (C) 2011 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 applicable ... |
/**
* Copyright 2014 XCL-Charts
*
* 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.jaoafa.jaosuperachievement2.achievements;
import com.jaoafa.jaosuperachievement2.api.Achievementjao;
import com.jaoafa.jaosuperachievement2.lib.Achievement;
import com.jaoafa.jaosuperachievement2.lib.AchievementInterface;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.buk... |
/*
* Copyright (c) 2016 Mockito contributors
* This program is made available under the terms of the MIT License.
*/
package org.mockito.creation.instance;
import org.jpatterns.core.ValidationErrorLevel;
import org.jpatterns.gof.creational.AbstractFactoryPattern;
/**
* Provides instances of classes.
* See more i... |
package com.yyq.dao;
import javax.persistence.*;
/**
* Created by gao on 16-4-26.
*/
@Entity
@Table(name = "user", schema = "", catalog = "demo")
public class UserEntity {
private int id;
private String username;
private String password;
private String email;
public UserEntity() {
}
@I... |
package com.flippingutilities.model;
import lombok.Data;
import lombok.extern.slf4j.Slf4j;
import java.util.ArrayList;
import java.util.List;
@Data
@Slf4j
public class AccountWideData {
List<Option> options = new ArrayList<>();
List<Section> sections = new ArrayList<>();
boolean shouldMakeNewAdditions = ... |
/*
* Copyright 2019 Uriah Shaul Mandel
*
* 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.ibase4j.model.sys;
import java.util.List;
import org.ibase4j.model.generator.SysMenu;
@SuppressWarnings("serial")
public class SysMenuBean extends SysMenu {
private Integer leaf = 1;
private List<SysMenuBean> menuBeans;
public Integer getLeaf() {
return leaf;
}
public void setLeaf(Integer leaf) ... |
package br.com.andre.completeapp.handlers;
import br.com.andre.completeapp.exceptions.BadRequestException;
import br.com.andre.completeapp.exceptions.BadRequestExceptionDetails;
import br.com.andre.completeapp.exceptions.ExceptionDetails;
import br.com.andre.completeapp.exceptions.ValidationExceptionDetails;
import lo... |
import java.io.File;
import java.util.concurrent.ForkJoinPool;
import java.util.concurrent.TimeUnit;
public class Main {
public static void main(String[] args) {
ForkJoinPool pool = new ForkJoinPool(8);
DirectoryProcessor cloudStorage = new DirectoryProcessor(
new File("/Users/hann... |
/**
* 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 2017 Pivotal Software, Inc.
* <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 applicab... |
package com.resultnotifier.main;
import android.content.Context;
import android.content.SharedPreferences;
import com.resultnotifier.main.db.DatabaseManager;
import com.resultnotifier.main.downloader.FileDownloader;
import com.resultnotifier.main.downloader.FileDownloaderImpl;
import com.resultnotifier.main.loader.Da... |
/**
* 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.apache.ode.pmapi.types._2006._08._02;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlElementDecl;
import javax.xml.bind.annotation.XmlRegistry;
import javax.xml.namespace.QName;
/**
* This object contains factory methods for each
* Java content interface and Java element interf... |
/*
* Copyright 2016 MovingBlocks
*
* 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 cat.altimiras.matryoshka;
import java.util.Iterator;
public class MatryoshkaIterator implements Iterator<Matryoshka> {
final private Iterator it;
MatryoshkaIterator(Iterator it) {
this.it = it;
}
@Override
public boolean hasNext() {
if (it == null) {
return false;
}
return it.hasNext();
}
... |
/**
* Copyright (C) 2014 Xillio (support@xillio.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... |
// --------------------------------------------------------------------------
// Copyright (c) 1998-2004, Drew Davidson and Luke Blanshard
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//... |
/*
* ***************************************************************************
* Copyright 2014-2019 Spectra Logic Corporation. 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 l... |
/*
* 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.xiaoyang.poweroperation.chart.presenter;
import android.app.Application;
import com.jess.arms.integration.AppManager;
import com.jess.arms.di.scope.ActivityScope;
import com.jess.arms.mvp.BasePresenter;
import com.jess.arms.http.imageloader.ImageLoader;
import me.jessyan.rxerrorhandler.core.RxErrorHandler... |
package jvizedit.swtfx.sample.graph.mvc;
import jvizedit.mvc.IController;
import jvizedit.mvc.IControllerFactory;
import jvizedit.mvc.IEdgeController;
import jvizedit.mvc.content.core.IContentManager;
import jvizedit.swtfx.sample.graph.gml.Connection;
import jvizedit.swtfx.sample.graph.gml.GraphModelRoot;
import jvize... |
/********************************************************************************
* generated by de.acegen 1.6.4
********************************************************************************/
package com.anfelisa.box.data;
public interface ILoadNextCardResponse {
com.anfelisa.box.models.INextCardViewModel ge... |
package org.tang.framework.util;
import org.tang.framework.entity.BeanEntity;
import org.tang.framework.entity.Record;
import java.lang.annotation.Annotation;
import java.lang.reflect.*;
import java.security.InvalidParameterException;
import java.text.ParseException;
import java.util.*;
import java.util.concurrent.Co... |
/*
Java library!
*/
import java.util.HashMap;
public class Library {
public void Library() {
}
public void getFinishedBooks(HashMap<String, Boolean> library) {
if (library.size() < 1) {
System.out.println("Error, array has a value of 0");
}
else {
for (String book : library.keySet(... |
/*
*
* * Copyright 2020 New Relic Corporation. All rights reserved.
* * SPDX-License-Identifier: Apache-2.0
*
*/
package com.nr.agent.instrumentation.play26;
import com.newrelic.agent.introspec.InstrumentationTestConfig;
import com.newrelic.agent.introspec.InstrumentationTestRunner;
import com.newrelic.agent.i... |
package yaploo;
import java.util.Hashtable;
public class YaplEnvironment implements YaplObject {
private YaplEnvironment outer;
private Hashtable<String, YaplObject> locals = new Hashtable<>();
public YaplEnvironment() {
}
public YaplEnvironment(YaplEnvironment outer) {
this.outer = out... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.