text stringlengths 7 1.01M |
|---|
package org.synyx.urlaubsverwaltung.security;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.web.servlet.HandlerInterceptor;
import org.springframework.web.servlet.ModelAndView;
import org.synyx.urlaubsverwaltung.person.PersonS... |
package ciir.jfoley.chai.io;
import ciir.jfoley.chai.random.Sample;
import org.junit.Test;
import java.io.BufferedInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.nio.ByteBuffer;
import java.nio.channels.FileChannel;
import java.nio.file.StandardOp... |
package org.sagebionetworks.search;
import static org.sagebionetworks.search.SearchConstants.FIELD_ETAG;
import static org.sagebionetworks.search.SearchConstants.FIELD_ID;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Set;
import c... |
package brice_bastien.epicture;
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... |
package com.baomidou.mybatisplus.test.h2.entity.mapper;
import java.util.List;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import c... |
/*
* Copyright 2020 by José Antonio Garcel
*
* 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... |
//CONF: lombok.addGeneratedAnnotation = false
import android.app.Fragment;
public class InstanceStateIntFragment extends Fragment {
@hrisey.InstanceState
private int myInt;
}
|
package com.javacodestuffs.spring.boot.rest.controller;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.GetMapping;
import org.springfr... |
package com.alphawallet.app.entity;
import com.alphawallet.app.R;
import org.junit.Test;
import static org.hamcrest.CoreMatchers.equalTo;
import static org.hamcrest.MatcherAssert.assertThat;
public class CurrencyItemTest {
@Test
public void getCurrencyText() {
CurrencyItem currencyItem = new Currenc... |
// Copyright 2018 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writi... |
/*
* 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 ... |
public class Test16 {
private static final String[] IMENA_DNI = {"PO", "TO", "SR", "CE", "PE"};
public static void main(String[] args) {
Urnik urnik = new Urnik();
System.out.println(urnik.dodajBlok(5, 1, 7, 17));
System.out.println(urnik.dodajBlok(99, 5, 18, 2));
System.out.pr... |
package net.martin1912.upwardbound.tileentities;
import net.minecraft.item.ItemInstance;
import net.minecraft.tileentity.TileEntityBase;
import net.minecraft.util.io.CompoundTag;
public class TileEntitySkyBarrel extends TileEntityBase {
ItemInstance barrelItem;
public ItemInstance getBarrelItem() {
r... |
package com.example.lcpjava.linkedlist;
import static org.assertj.core.api.Assertions.assertThat;
import org.junit.jupiter.api.Test;
import com.example.lcpjava.common.ListNode;
class Lcp_142_Linked_List_Cycle_IITest {
@Test
void test_case_1() {
Lcp_142_Linked_List_Cycle_II lcp = new Lcp_142_Linked_List_Cycle_... |
package com.leetcode.algorithm.hard.maximumprofitinjob;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.assertEquals;
public class SolutionTest {
@Test
public void testCase1() {
Solution solution = new Solution();
assertEquals(120, solution.jobScheduling(new ... |
package com.bop.zz.share.login.result;
import android.text.TextUtils;
import org.json.JSONException;
import org.json.JSONObject;
public class WeiboUser extends BaseUser {
private String language;
private String city;
private String province;
private String headimgurl_hd;
/**
* 示例
* ... |
/*
* 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 (C) 2010-2018 Gordon Fraser, Andrea Arcuri and EvoSuite
* contributors
*
* This file is part of EvoSuite.
*
* EvoSuite 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, eit... |
package com.s4game.server.public_.room.service;
import java.util.List;
import com.s4game.server.public_.room.entity.Room;
public interface IRoomService {
List<Room> loadAll();
Room loadById(long roomId);
Room loadByRoleId(String roleId);
/**
* 创建房间
*
* @param roleId
*... |
package me.kevingleason.androidrtc;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import android.app.ListActivity;
import android.app.PendingIntent;
import android.content.BroadcastReceiver;
import android.content.Cont... |
package com.lxr.leetcode;
/**
* Given an array of non-negative integers, you are initially positioned at the first index of the array.
* <p>
* Each element in the array represents your maximum jump length at that position.
* <p>
* Your goal is to reach the last index in the minimum number of jumps.
* <p>
* eg.
... |
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. 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
... |
import javax.swing.JFrame;
public class Main {
public static void main (String args[]){
GUI gui = new GUI();
gui.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
gui.pack();
//gui.setResizable(false);
gui.setTitle("1D");
gui.setLocationRelativeTo(null);
gui.setVisible(true);
gui.requestFocusInWindow(... |
package com.alipay.api.domain;
import com.alipay.api.AlipayObject;
import com.alipay.api.internal.mapping.ApiField;
/**
* 收货人及地址信息
*
* @author auto create
* @since 1.0, 2019-04-02 16:24:40
*/
public class ReceiverAddressInfo extends AlipayObject {
private static final long serialVersionUID = 18716... |
/**
* Copyright 2017 Hortonworks.
*
* 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) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
package com.facebook.samples.animation2.bitmap;
import android.content.Context;
import android.view.View;
import android.widget.Ad... |
package com.androidpopcorn.tenx.daggerandroidinjectorsdemo;
import android.arch.lifecycle.ViewModel;
import android.arch.lifecycle.ViewModelProvider;
import android.support.annotation.NonNull;
import com.androidpopcorn.tenx.daggerandroidinjectorsdemo.data.ApiService;
public class ViewModelFactory<V> implements ViewM... |
/**
* Copyright © 2020 Erwin Müller (erwin.mueller@anrisoftware.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... |
/*
* Copyright (c) 2020, Peter Abeles. All Rights Reserved.
*
* This file is part of BoofCV (http://boofcv.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.apac... |
/**
*
* 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 pl.plh.app.employment.domain;
import lombok.*;
import javax.persistence.*;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
@NoArgsConstructor
@AllArgsConstructor
@Getter
@Setter
@ToString
@EqualsAndHashCode(doNotUseGetters = true)
@Table(name = "occupation", uniqueConst... |
package com.sequenceiq.cloudbreak.cloud.mock;
import static com.sequenceiq.cloudbreak.cloud.model.DiskType.diskType;
import static com.sequenceiq.cloudbreak.cloud.model.Orchestrator.orchestrator;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
import ja... |
/*
* This file is part of GriefDefender, licensed under the MIT License (MIT).
*
* Copyright (c) bloodmc
* Copyright (c) contributors
*
* 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... |
/*
* 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 aima.gui.swing.applications.agent.map;
import aima.gui.swing.framework.AgentAppFrame;
import aima.gui.util.SearchFactory;
/**
* Universal frame for experiments with route planning agents. It configures the
* agent application frame with some selectors and an agent view which is
* designed for cooperation w... |
/*
* Kubernetes
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: v1.11.1
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/firestore/v1beta1/firestore.proto
package com.google.firestore.v1beta1;
/**
*
*
* <pre>
* The request for [Firestore.ListDocuments][google.firestore.v1beta1.Firestore.ListDocuments].
* </pre>
*
* Protobuf type {@code google.firestore... |
package net.thucydides.core.reports.html;
import com.github.rjeschke.txtmark.Configuration;
import com.google.common.base.Splitter;
import com.google.inject.Inject;
import com.google.inject.Key;
import com.vladsch.flexmark.ast.Node;
import com.vladsch.flexmark.ext.gfm.strikethrough.StrikethroughExtension;
import com.v... |
package seedu.address.logic.parser;
import static seedu.address.commons.core.Messages.MESSAGE_INVALID_COMMAND_FORMAT;
import static seedu.address.logic.parser.CliSyntax.PREFIX_DOSES_PER_DAY;
import static seedu.address.logic.parser.CliSyntax.PREFIX_DOSE_UNIT;
import static seedu.address.logic.parser.CliSyntax.PREFIX_D... |
/**
* <copyright>
* </copyright>
*
* $Id$
*/
package au.edu.swin.ict.road.designer.smc.provider;
import au.edu.swin.ict.road.designer.smc.util.SmcAdapterFactory;
import java.util.ArrayList;
import java.util.Collection;
import org.eclipse.emf.common.notify.Adapter;
import org.eclipse.emf.common.not... |
package com.lion.upms.controller.role;
import com.lion.core.controller.BaseController;
import com.lion.core.controller.impl.BaseControllerImpl;
import com.lion.upms.service.role.RoleDepartmentService;
import com.lion.upms.service.role.RoleResourcesService;
import com.lion.upms.service.role.RoleService;
import com.lion... |
package sample.camel;
import org.apache.camel.Message;
import org.apache.camel.ValidationException;
import org.apache.camel.spi.DataType;
import org.apache.camel.spi.Validator;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Value;
import org.springframework... |
package com.lt.dailytest.vo;
/**
* @author tong.luo
* @description ReqVO
* @date 2021/3/8 17:18
*/
public class ReqVO {
private String to;
private String subject;
private String content;
public String getTo() {
return to;
}
public void setTo(String to) {
this.to = to;
... |
package com.backyard.modules.sys.dao;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import com.backyard.modules.sys.entity.SysMenuEntity;
/**
* 菜单管理
*/
@Mapper
public interface SysMenuDao extends BaseDao<SysMenuEntity> {
/**
* 根据父菜单,查询子菜单
*
* @param parentId
* 父菜单ID
*/... |
/***************************************************************************
* Copyright 2018 Kieker Project (http://kieker-monitoring.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 a... |
package com.salesmanager.shop.mapper.tax;
import org.jsoup.helper.Validate;
import org.springframework.stereotype.Component;
import com.salesmanager.core.model.merchant.MerchantStore;
import com.salesmanager.core.model.reference.language.Language;
import com.salesmanager.core.model.tax.taxrate.TaxRate;
import com.sal... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/ads/googleads/v7/services/keyword_plan_service.proto
package com.google.ads.googleads.v7.services;
public interface KeywordPlanWeeklyTimeSeriesForecastOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.ads.googleads.... |
package com.yboot.base.modules.social.serviceimpl;
import com.yboot.common.common.vo.SearchVo;
import com.yboot.base.modules.social.dao.WeiboDao;
import com.yboot.base.modules.social.entity.Weibo;
import com.yboot.base.modules.social.service.WeiboService;
import cn.hutool.core.date.DateUtil;
import cn.hutool.core.util... |
package de.cronn.jira.sync.service;
import static org.assertj.core.api.Assertions.*;
import static org.mockito.Mockito.*;
import java.net.MalformedURLException;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.stream.Collectors;
import org.junit.Before;
import org.junit.... |
package com.domker.study.androidstudy;
import android.media.MediaPlayer;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.view.SurfaceHolder;
import android.view.View;
import com.domker.study.androidstudy.player.VideoPlayerIJK;
impor... |
package de.adorsys.psd2.model;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.validation.annotation.Validated;
import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import ja... |
package com.iflytek.speech.aidl;
import android.content.Intent;
import android.os.IInterface;
import com.iflytek.speech.TextUnderstanderListener;
public abstract interface ITextUnderstander extends IInterface
{
public abstract void cancel(TextUnderstanderListener paramTextUnderstanderListener);
public abstract b... |
package sk.vander.contacts.data.api.model;
import org.jetbrains.annotations.Nullable;
import auto.parcelgson.AutoParcelGson;
/**
* Created by arashid on 27/06/16.
*/
@AutoParcelGson
public abstract class Contact {
public abstract String id();
@Nullable public abstract String name();
public abstract String ki... |
package mongoose.backend.operations.entities.document.registration;
import javafx.scene.layout.Pane;
import mongoose.backend.operations.entities.generic.SetEntityFieldRequest;
import mongoose.shared.entities.Document;
public final class ToggleMarkDocumentPassAsReadyRequest extends SetEntityFieldRequest {
private... |
package baseFrame.webUtils;
import org.apache.log4j.Logger;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import java.util.Properties;
/**
* Created by yaolei on 2017/7/23... |
package myOwnExtractor;
import java.io.OutputStream;
public class MultiExtractor {
private OutputStream out;
/**
*
*/
public static void main(String[] args) {
}
public void extractZipRec (String fileName, String path)
{
}
}
|
/**
* Copyright 2012-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 "lic... |
/*
*
* Copyright (c) 2020-2021, NVIDIA CORPORATION.
*
* 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... |
package com.hkh.korealocal114.data;
import java.io.Serializable;
public class MenuData implements Serializable {
/**
*
*/
private static final long serialVersionUID = 1L;
int uid;
String id; // 메뉴 아이디
String name;
String url;
String type;
public String getId() {
return this.id;
}
public void se... |
/*
* 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 studentadminapp;
import java.net.URL;
import java.util.ArrayList;
import java.util.ResourceBundle;
import javafx.event.ActionE... |
/*
Copyright 2022 The Kubernetes 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 in writing, softwar... |
/*
* Copyright © 2018 Ford Motor Company
* 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... |
package io.codejournal.hackerrank.thirtydaysofcode;
import java.io.ByteArrayInputStream;
import java.util.Scanner;
public class Day24MoreLinkedList {
public static void main(final String args[]) {
final String input = "6 1 2 2 3 3 4";
System.setIn(new ByteArrayInputStream(input.getBytes()));
... |
package com.siftscience.model;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
public class CreateListingFieldSet extends CreateContentFieldSet<CreateListingFieldSet> {
public static CreateListingFieldSet fromJson(String json) {
return gson.fromJson(json, Crea... |
package com.example.myschool;
import android.app.ProgressDialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.support.v7.app.AlertDialog;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import an... |
/*
* 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 ... |
//: object/ShowProperties.java
package object; /* Added by Eclipse.py */
public class ShowProperties {
public static void main(String[] args) {
System.getProperties().list(System.out);
System.out.println(System.getProperty("user.name"));
System.out.println(System.getProperty("java.library.path"));
}
}... |
package de.captaingoldfish.scim.sdk.client.exceptions;
/**
* author Pascal Knueppel <br>
* created at: 09.12.2019 - 15:26 <br>
* <br>
* <br>
*/
public class KeyStoreReadingException extends RuntimeException
{
public KeyStoreReadingException(String message)
{
super(message);
}
public KeyStoreReadingE... |
package config;
import javax.ws.rs.ApplicationPath;
import javax.ws.rs.core.Application;
@ApplicationPath("webapi")
public class RestConfiguration extends Application
{
} |
package net.iponweb.disthene.cleaner;
/**
* @author Andrei Ivanov
*/
public class WildcardUtil {
public static String getPathsRegExFromWildcard(String wildcard) {
return wildcard.replace(".", "\\.").replace("*", ".*").replace("{", "(")
.replace("}", ")").replace(",", "|").replace("?", "[... |
/*
* Copyright 1999-2018 Alibaba Group Holding 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 applica... |
/*
* ServeStream: A HTTP stream browser/player for Android
* Copyright 2014 William Seemann
*
* 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/LIC... |
package com.trilogyed.admin.util.messages;
import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import java.io.Serializable;
import java.time.LocalDate;
import java.util.List;
import java.util.Objects;
public class Invoice implements Serializable {
... |
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See LICENSE in the project root for
* license information.
*/
package com.microsoft.azure.spring.autoconfigure.aad;
import com.microsoft.azure.telemetry.TelemetrySender;
import org.springframework.boot.autoconfigure.c... |
package uk.ac.ebi.subs.ena;
import org.apache.http.HttpResponse;
import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.Test;
import org.junit.experimental.categories.Category;
import uk.ac.ebi.subs.PropertiesManager;
import uk.ac.ebi.subs.categories.DevEnv;
import uk.ac.ebi.subs.categories.TestEn... |
/*
* 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... |
/*
* Copyright 2011-2016 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 "licen... |
package com.itjing.api.algorithm;
import org.junit.Test;
/**
* 创建时间:2016-10-2下午1:24:39<br/>
* 创建者:sanri<br/>
* 功能:分页算法,点击页数时把当前页移动至中间<br/>
*/
public class Fenye {
@Test
public void testfen() {
int listSize = 15;
int pageNow = 10;
int beginNum = 0;
int endNum = 9;
i... |
package com.goblin.manage.controller;
import com.goblin.common.ResponseEntityPro;
import org.springframework.http.ResponseEntity;
import org.springframework.messaging.handler.annotation.MessageMapping;
import org.springframework.messaging.handler.annotation.SendTo;
import org.springframework.web.bind.annotation.RestCo... |
package com.imooc.o2o.dao;
import com.imooc.o2o.entity.ShopCategory;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
* Created by Administrator on 2017/12/3.
*/
public interface ShopCategoryDao {
/**
* 根据传入的查询条件返回店铺类别列表
* @param shopCategoryCondition
* @return
*/
... |
/*
* 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 ... |
/*
* Copyright 2019 GridGain Systems, Inc. and Contributors.
*
* Licensed under the GridGain Community Edition License (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.gridgain.com/products/software/community-edition... |
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Random;
import java.util.Scanner;
public class Markov {
private String fileName;
private int prefixLength;
private int maxChars;
private Scanner input;
private HashMap<Str... |
/*
* Copyright © 2022 camunda services GmbH (info@camunda.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 ... |
/*
* 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 pets_new.interfaces;
public interface FourLegsAnimal {
final int numberOfLegs = 4;
}
|
package com.airbnb.lottie;
import android.animation.Animator;
import android.graphics.Rect;
import android.support.v4.util.LongSparseArray;
import android.support.v4.util.SparseArrayCompat;
import com.airbnb.lottie.model.Font;
import com.airbnb.lottie.model.FontCharacter;
import com.airbnb.lottie.model.Marker;
import ... |
/*
* Copyright 2019 WeBank
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writi... |
package eu.itdc.internetprovider.service;
import eu.itdc.internetprovider.persistence.entity.Product;
import eu.itdc.internetprovider.persistence.repository.ProductRepository;
import eu.itdc.internetprovider.service.dto.ProductDTO;
import eu.itdc.internetprovider.service.exception.ResourceNotFound;
import org.springfr... |
/**
* Copyright 2017 ZTE Corporation.
*
* 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... |
package io.deephaven.db.v2.tuples.generated;
import io.deephaven.datastructures.util.SmartKey;
import io.deephaven.db.util.tuples.generated.DoubleLongObjectTuple;
import io.deephaven.db.v2.sources.ColumnSource;
import io.deephaven.db.v2.sources.WritableSource;
import io.deephaven.db.v2.sources.chunk.Attributes;
import... |
package de.webalf.slotbot.util;
import lombok.experimental.UtilityClass;
/**
* @author Alf
* @since 21.10.2021
*/
@UtilityClass
public final class BooleanUtils {
/**
* Parse Boolean that can handle null bools. Returns {@code fallback} if null
*
* @param b Boolean to parse
* @param fallback to use i... |
package jun.projavawebapp;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletR... |
/**
* Copyright 2011-2015 Amazon Technologies, 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://aws.amazon.com/apache2.0
*
* This file is distributed on an "AS IS"... |
package org.aksw.rdfunit.model.impl.shacl;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableMap;
import com.google.common.collect.ImmutableSet;
import java.util.List;
import java.util.Set;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import java.util.stream.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 ... |
/**************************************************************************
* copyright file="EwsSSLProtocolSocketFactory.java" company="Microsoft"
* Copyright (c) Microsoft Corporation. All rights reserved.
*
* Defines the EwsSSLProtocolSocketFactory.java.
***************************************************... |
package chapter4;
/*
(Days of a month) Write a program that prompts the user to enter a year and the
first three letters of a month name (with the first letter in uppercase) and displays
the number of days in the month.
*/
import java.util.Scanner;
public class Exercise_04_17 {
public static void main(String[] ar... |
package java8.in.action.chap5;
public class Transaction{
private Trader trader;
private int year;
private int value;
public Transaction(Trader trader, int year, int value)
{
this.trader = trader;
this.year = year;
this.value = value;
}
public Trader getTrader(){
return this.trader;
}
public int g... |
/*
* Copyright 2016-2021 Micro Focus or one of 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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.