text
stringlengths
7
995k
/** * Copyright (C) 2012 JBoss Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
package com.sequenceiq.it.cloudbreak.action.v4.blueprint; import static com.sequenceiq.it.cloudbreak.log.Log.log; import static com.sequenceiq.it.cloudbreak.log.Log.logJSON; import static java.lang.String.format; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.sequenceiq.it.cloudbreak.CloudbreakC...
/****************************************************************************** * Product of NIST/ITL Advanced Networking Technologies Division (ANTD). * ******************************************************************************/ package gov.nist.javax.sip.stack; import java.net.Socket; import java.net.Serve...
package sample; import javafx.event.ActionEvent; import javafx.fxml.FXML; import javafx.fxml.FXMLLoader; import javafx.fxml.Initializable; import javafx.scene.Parent; import javafx.scene.Scene; import javafx.scene.control.Button; import javafx.scene.control.Label; import javafx.scene.control.PasswordField; import java...
package me.desht.modularrouters.item.augment; import me.desht.modularrouters.item.module.ExtruderModule2; import me.desht.modularrouters.item.module.ItemModule; public class MimicAugment extends ItemAugment { @Override public int getMaxAugments(ItemModule moduleType) { return moduleType instanceof Ext...
package com.spun.util.velocity; import org.apache.velocity.context.Context; import java.util.HashMap; import java.util.Map.Entry; public interface ContextAware { public void setupContext(Context context); /* INNER CLASS */ public static class ContextAware...
package pl.mfilix.design.patterns.creational.factory; import pl.mfilix.design.patterns.structural.decorator.I_Cloth; public class FactoryPatternDemo { public static void main(String[] args) { ClothFactory clothFactory = new ClothFactory(); //get an object of Jeans and call its method. I...
/** * Copyright (C) 2020 Argos Notary Coöperatie UA * * 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...
/* * 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...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.ocs.indaba.util; import com.ocs.common.Config; import com.ocs.indaba.common.Constants; import java.util.Map; import java.util.Set; import java.util.concurrent.ConcurrentHashMap; import org.apache.commons.lan...
package io.joern.fuzzyc2cpg.ast.expressions; import io.joern.fuzzyc2cpg.ast.walking.ASTNodeVisitor; public class DoubleExpression extends PrimaryExpression { @Override public void accept(ASTNodeVisitor visitor) { visitor.visit(this); } }
/* * 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 (c) 1998, 2012 Oracle and/or its affiliates. All rights reserved. * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0...
// Autogenerated from vk-api-schema. Please don't edit it manually. package com.vk.api.sdk.objects.video; import com.google.gson.Gson; import com.google.gson.annotations.SerializedName; import com.vk.api.sdk.objects.Validable; import com.vk.api.sdk.objects.base.BoolInt; import com.vk.api.sdk.objects.base.Likes; import...
/* * Copyright (c) 2005-2019 Substance Kirill Grouchnikov. All Rights Reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * o Redistributions of source code must retain the above copyright notice, * ...
package ru.vyarus.dropwizard.guice.examples.hbn; import com.google.inject.AbstractModule; import org.hibernate.SessionFactory; /** * Guice module for {@link SessionFactory} binding. * * @author Vyacheslav Rusakov * @since 12.06.2016 */ public class HbnModule extends AbstractModule { private final HbnBundle ...
/* * Copyright © 2019 Cask Data, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
package es.bsc.dataclay.serialization; import static org.junit.Assert.assertTrue; import java.lang.ref.Reference; import java.util.HashMap; import java.util.IdentityHashMap; import java.util.LinkedList; import java.util.List; import java.util.Map; import java.util.Random; import org.junit.Test; import org.junit.expe...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. package com.azure.ai.formrecognizer; import com.azure.ai.formrecognizer.models.FormContentType; import com.azure.ai.formrecognizer.models.FormPage; import com.azure.ai.formrecognizer.models.FormTable; import com.azure.ai.f...
package __fixed_package__; import com.funnelback.plugin.servlet.filter.SearchServletFilterHook; import com.funnelback.plugin.servlet.filter.SearchServletFilterHookContext; import javax.servlet.ServletRequest; import javax.servlet.ServletResponse; import org.apache.logging.log4j.LogManager; import org.apache.logging....
/* * Copyright 2018 ESOL. * * 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 wr...
package org.fluentlenium.integration.shareddriver; import org.fluentlenium.adapter.util.SharedDriver; import org.fluentlenium.integration.localtest.LocalFluentCase; import org.testng.annotations.Test; import static org.assertj.core.api.Assertions.assertThat; import static org.fluentlenium.core.filter.FilterConstructo...
package com.electrodev; public class Main { public static void main(String[] args){ Gui g = new Gui(); } }
/* * 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 Telas; import Classes.PetShop; import Model.ModeloTabelaOrdemServico; /** * * @author danny */ public class TelaOrdensDeSe...
/* * 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 ...
/* * This file is part of plugin-meta, licensed under the MIT License (MIT). * * Copyright (c) SpongePowered <https://www.spongepowered.org> * Copyright (c) contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "So...
package org.bouncycastle.asn1.x509; import java.util.Enumeration; import java.util.Hashtable; import java.util.Vector; import org.bouncycastle.asn1.ASN1Encodable; import org.bouncycastle.asn1.ASN1EncodableVector; import org.bouncycastle.asn1.ASN1Object; import org.bouncycastle.asn1.ASN1ObjectIdentifier; import org.bo...
/* * Copyright 2002-2018 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...
package com.winsontan520.wversionmanager.sample; import com.winsontan520.wversionmanager.sample.R; import com.winsontan520.wversionmanager.library.WVersionManager; import android.os.Bundle; import android.app.Activity; import android.view.Menu; import android.view.View; import android.widget.EditText; public class C...
/* * 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...
package ic2.api.recipe; import java.util.Map; import net.minecraft.item.ItemStack; public interface ICannerBottleRecipeManager { /** * Adds a recipe to the machine. * * @param container Container to be filled * @param fill Item to fill into the container * @param output Filled container */ public void ...
package br.edu.iftm.os.repository; import br.edu.iftm.os.model.Detalhes; public class DetalhesRepository extends GenericRepository<Detalhes, Integer> { }
package plane; import java.util.Objects; public abstract class Plane { private final String model; private final int maxSpeed; private final int maxFlightDistance; private final int maxLoadCapacity; public Plane(String model, int maxSpeed, int maxFlightDistance, int maxLoadCapacity) { thi...
/** * 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...
/** * 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...
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ title Strman Public API Test + project icecore-strman + version 0.3.0 + repository https://github.com/arcticicestudio/icecore-strman + au...
/* Copyright [2020] [https://www.xiaonuo.vip] 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...
package org.light4j.springMvc4; import java.util.List; import org.light4j.springMvc4.interceptor.DemoInterceptor; import org.light4j.springMvc4.messageconverter.MyMessageConverter; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.ComponentScan; import org.springframewo...
package com.modelagemConceitual.services.exceptions; public class ObjectNotFoundException extends RuntimeException{ private static final long serialVersionUID = 1L; public ObjectNotFoundException(String msg) { super(msg); } public ObjectNotFoundException(String msg, Throwable cause) { super(msg, cause); ...
/* * Copyright 2013-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 "licen...
package org.kyojo.schemaorg.m3n3.gson.core.container; import java.lang.reflect.Field; import java.lang.reflect.ParameterizedType; import java.lang.reflect.Type; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map.Entry; import org.kyojo.gson.JsonDeserializationContext; im...
/* * Copyright 2015-2016 Red Hat, Inc, and individual 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...
/* 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...
package com.jacquessmuts.popularmovies.Models; import android.os.Parcel; import android.os.Parcelable; import com.google.gson.Gson; import com.google.gson.JsonObject; import com.google.gson.reflect.TypeToken; import com.jacquessmuts.popularmovies.Utils.Server; import java.lang.reflect.Type; import java.util.ArrayLis...
package com.zhisheng.log.utils; import org.apache.flink.api.java.utils.ParameterTool; import org.apache.flink.streaming.api.datastream.DataStream; import org.apache.flink.streaming.api.datastream.SingleOutputStreamOperator; import org.apache.flink.streaming.connectors.elasticsearch.ElasticsearchSinkFunction; import or...
/* The MIT License (MIT) Copyright (c) 2019 Pierre Lindenbaum Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, me...
package com.tehang.common.utility.rest.annotations; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; import java.lang.annotation.Inherited; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * 使用在Controller的方法上,禁...
/* * 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) 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.apach...
package org.knowm.xchange.simulated; import static org.knowm.xchange.currency.Currency.BTC; import static org.knowm.xchange.currency.Currency.USD; import static org.knowm.xchange.currency.CurrencyPair.BTC_USD; import static org.knowm.xchange.dto.Order.OrderType.BID; import static org.knowm.xchange.simulated.SimulatedE...
/* * Licensed to Crate under one or more contributor license agreements. * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. Crate licenses this file * to you under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compl...
package com.jkinvest.jkl.base.database.datasource.defaults; import cn.hutool.core.util.ArrayUtil; import com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceBuilder; import com.baomidou.mybatisplus.autoconfigure.ConfigurationCustomizer; import com.baomidou.mybatisplus.autoconfigure.MybatisPlusProperties; impor...
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802 // 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: 2015.12....
package uk.gov.cslearning.record.service; import org.joda.time.DateTime; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Value; import org.springframework.stereotype.Service; import uk.gov.cslearning.record.api.LearnerController; import uk.gov.cslearning.rec...
package org.robobinding.viewattribute.grouped; /** * * @since 1.0 * @version $Revision: 1.0 $ * @author Cheng Wei */ public interface GroupedViewAttribute<ViewType> extends ChildAttributesResolver, InitializedGroupedViewAttribute<ViewType> { }
/* * Copyright (c) 2004-2022, University of Oslo * 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 cond...
package com.student.accessControl.service; import com.student.accessControl.pojo.Role; import com.student.accessControl.pojo.User; import org.springframework.stereotype.Service; @Service public interface UserRoleService { void updateRoleForUser(Role role, User user); }
package org.intermine.web.struts; /* * Copyright (C) 2002-2021 FlyMine * * This code may be freely distributed and modified under the * terms of the GNU Lesser General Public Licence. This should * be distributed with the code. See the LICENSE file for more * information or http://www.gnu.org/copyleft/lesser.h...
// Copyright 2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writi...
package top.tangyh.lamp.authority.dto.auth; import cn.afterturn.easypoi.excel.annotation.Excel; import cn.afterturn.easypoi.handler.inter.IExcelDataModel; import cn.afterturn.easypoi.handler.inter.IExcelModel; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.AllArgs...
package edu.bu.met.cs665; public class ProductPrintOut { void print(String name, double price) { // print only Name and Unit Price of this product. System.out.println("Produce name: " + name); System.out.println("Unit Price is: " + price); } }
package com.gh.mygreen.xlsmapper.fieldaccessor; import static org.assertj.core.api.Assertions.*; import java.util.HashMap; import java.util.Map; import java.util.Optional; import org.apache.poi.ss.usermodel.Cell; import org.apache.poi.ss.util.CellReference; import org.junit.Before; import org.junit.Test; import org....
package mage.cards.r; import java.util.UUID; import mage.abilities.effects.common.ReturnToHandTargetEffect; import mage.abilities.keyword.StormAbility; import mage.cards.CardImpl; import mage.cards.CardSetInfo; import mage.constants.CardType; import mage.filter.StaticFilters; import mage.target.common.TargetCardInYour...
/** * 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...
// Targeted by JavaCPP version 1.5.5: DO NOT EDIT THIS FILE package org.bytedeco.dnnl; import java.nio.*; import org.bytedeco.javacpp.*; import org.bytedeco.javacpp.annotation.*; import static org.bytedeco.javacpp.presets.javacpp.*; import org.bytedeco.opencl.*; import static org.bytedeco.opencl.global.OpenCL.*; im...
package test; import com.mongodb.Block; import com.mongodb.MongoClient; import com.mongodb.client.FindIterable; import com.mongodb.client.MongoCollection; import com.mongodb.client.MongoDatabase; import org.bson.Document; import sun.misc.BASE64Decoder; import sun.misc.BASE64Encoder; import javax.crypto.BadPaddingExce...
/* AUTO-GENERATED FILE. DO NOT MODIFY. * * This class was automatically generated by the * aapt tool from the resource data it found. It * should not be modified by hand. */ package com.google.android.gms; public final class R { public static final class attr { public static final int circleCrop = 0x7f010020...
/* AUTO-GENERATED FILE. DO NOT MODIFY. * * This class was automatically generated by the * aapt tool from the resource data it found. It * should not be modified by hand. */ package com.tsc.activities; public final class R { public static final class anim { public static final int slide_in_from_bot...
package com.mohan.raksha; import android.provider.BaseColumns; public class DatabaseContracts{ private DatabaseContracts(){} public static final class ContactsEntry implements BaseColumns { public static final String TABLE_NAME = "contact_list"; public static final String COLUMN_NAME = "na...
/** * USACO 2017 - 01 - Problem 2 - Hoof, Paper, Scissors * */ import java.io.*; import java.lang.*; import java.util.*; public class HoofPaperScissors { public static String FileName = "hps"; public static void main (String [] args) throws IOException { // Input: BufferedReader f =...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
package com.app.generated.graphql; import com.apollographql.apollo.api.Mutation; import java.lang.String; import java.lang.Override; import javax.annotation.Generated; import com.apollographql.apollo.api.OperationName; import com.apollographql.apollo.api.Operation; import com.apollographql.apollo.api.ResponseFieldMapp...
package model.supervised.boosting.gradiantboost; import data.DataSet; import data.core.AMatrix; import data.core.Label; import gnu.trove.list.array.TIntArrayList; import model.Predictable; import model.Trainable; import model.supervised.boosting.Boost; import model.supervised.boosting.gradiantboost.gradientboostor.Gra...
package top.totoro.swing.widget.view; import top.totoro.swing.widget.bar.HorizontalScrollBar; import top.totoro.swing.widget.bar.VerticalScrollBar; import top.totoro.swing.widget.base.BaseLayout; import top.totoro.swing.widget.base.BaseScrollBar; import top.totoro.swing.widget.bean.LayoutAttribute; import top.totoro.s...
package org.podcastpedia.core.userinteraction.emailsubscription; import java.util.List; public class EmailSubscriber { /** holds the email of the subscriber */ private String email; /** holds ids of the podcasts the user subscribed to by email */ private List<Integer> subscribedPodcastIds; public String ge...
/* PbiImageStream.java Copyright (c) 2014 NTT DOCOMO,INC. Released under the MIT license http://opensource.org/licenses/mit-license.php */ package org.deviceconnect.android.deviceplugin.pebble.util; /** * Pebble 用 pbi 画像のファイルイメージ作成. * * @author NTT DOCOMO, INC. * @see ~/pebble-dev/PebbleSDK-2.3/Pebble/tools/...
package gov.usgs.cida.wqp.dao.count; import java.util.List; import java.util.Map; import org.junit.Test; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.boot.test.context.SpringBootTest.WebEnvironment; import com.github.springtestdbunit.annotation.DatabaseSetup; import com.git...
package com.xuan.auth.model; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; import java.util.List; public class AuthorityDAO implements AuthorityDAO_interface{ String driver = "oracle.j...
package com.tencent.mapsdkdemo; import android.os.Bundle; import android.support.v4.app.FragmentActivity; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentTransaction; import com.tencent.tencentmap.mapsdk.map.MapView; public class CustMapFragmentActivity extends FragmentActivity {...
package com.jpeony.base.linked; /** * 单链表的插入、删除、查找操作,链表内存int类型数据 * * @author yihonglei */ public class SingleLinkedList { /** * 定义头节点 */ private Node head = null; /** * 从尾部添加节点 */ public void addLast(int value) { // 构建新节点 Node newNode = new Node(value, null); ...
// // ======================================================================== // Copyright (c) 1995-2020 Mort Bay Consulting Pty. Ltd. // ------------------------------------------------------------------------ // All rights reserved. This program and the accompanying materials // are made available under the ter...
package com.beautycoder.pflockscreen; import android.content.Context; import androidx.annotation.IntDef; import android.view.View; import java.lang.annotation.Retention; import static java.lang.annotation.RetentionPolicy.SOURCE; /** * Created by Aleksandr Nikiforov on 2018/02/14. */ public class PFFLockScreenConf...
package com.aaxon.domain; public class UpmLog { private Integer logId; private String description; private String username; private Long startTime; private Integer spendTime; private String basePath; private String uri; private String url; private String method; private...
/* * Copyright 2012 WSO2, Inc. (http://wso2.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 applicable law ...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
package com.example.backupcameraclient; import android.content.Context; import androidx.test.platform.app.InstrumentationRegistry; import androidx.test.ext.junit.runners.AndroidJUnit4; import org.junit.Test; import org.junit.runner.RunWith; import static org.junit.Assert.*; /** * Instrumented test, which will exe...
package net.n2oapp.framework.config.metadata.compile.control; import net.n2oapp.framework.api.exception.SeverityType; import net.n2oapp.framework.api.metadata.meta.control.Field; import net.n2oapp.framework.api.metadata.meta.control.InputText; import net.n2oapp.framework.api.metadata.meta.control.IntervalField; import...
package com.github.dreamhead.moco; import com.github.dreamhead.moco.handler.failover.Failover; import com.github.dreamhead.moco.handler.proxy.ProxyConfig; import com.github.dreamhead.moco.mount.MountPredicate; import com.github.dreamhead.moco.mount.MountTo; public interface HttpServer extends ResponseSetting { in...
package net.glowstone.generator.structures; import net.glowstone.GlowServer; import net.glowstone.generator.objects.RandomItemsContent; import net.glowstone.generator.objects.RandomItemsContent.RandomAmountItem; import net.glowstone.generator.structures.util.StructureBoundingBox; import net.glowstone.generator.structu...
package org.apereo.cas.webauthn; import com.fasterxml.jackson.annotation.JsonProperty; import lombok.Getter; import lombok.NoArgsConstructor; import lombok.Setter; import lombok.experimental.Accessors; import lombok.experimental.SuperBuilder; import org.springframework.data.annotation.Id; import org.springframework.da...
package br.com.zupacademy.mateus.desafiomercadolivre.config; import static org.springframework.http.HttpStatus.NOT_FOUND; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.MessageSource; import org.springframework.context.i18n.LocaleContextHolder...
package com.connor.demo.RxJava.cache2; import android.graphics.Bitmap; /** * Create by dzb 2021/07/07 */ public class Resource { private Bitmap bitmap; private int acquired; private ResourceListener listener; private Key key; public interface ResourceListener { void onResourceReleased(K...
/* =========================================================== * JFreeChart : a free chart library for the Java(tm) platform * =========================================================== * * (C) Copyright 2000-2011, by Object Refinery Limited and Contributors. * * Project Info: http://www.jfree.org/jfreechart/in...
import org.checkerframework.checker.fenum.qual.Fenum; public class CastsFenum { @Fenum("A") Object fa; void m(Object p, @Fenum("A") Object a) { fa = (Object) a; // :: error: (assignment) fa = (Object) p; // TODO: How can we test the behavior for // instanceof? It should be the same as for cas...
/* * Copyright 2016 Goldman Sachs. * * 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 ...
package io.github.jokoframework.persistence; import androidx.room.Dao; import androidx.room.Insert; import androidx.room.OnConflictStrategy; import androidx.room.Query; import java.util.List; @Dao public interface CountryDao { @Query("SELECT * FROM country") List<Country> getAll(); //@Query("SELECT * F...
package com.example; import jakarta.ws.rs.DefaultValue; import jakarta.ws.rs.GET; import jakarta.ws.rs.Path; import jakarta.ws.rs.Produces; import jakarta.ws.rs.QueryParam; import jakarta.ws.rs.core.MediaType; @Path("/") public class HelloWorld { @GET @Produces(MediaType.APPLICATION_JSON) public Greeting sayHello...
package site.holten.dao; import lombok.Data; import java.sql.Timestamp; /** * Created by holten.gao on 2016/7/22. */ @Data public class data_soil_temp { long deviceid; Timestamp timestamp; float value; }
package com.example.fourpay; import android.content.Intent; import android.os.Bundle; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.fragment.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Butt...
package com.unideb.qsa.api.domain.api.response; /** * Used for grouping input system features. */ public enum InputGroup { INPUT_GROUP_REQUIRED, INPUT_GROUP_OPTIONAL, INPUT_GROUP_COST }